mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-30 20:24:25 +00:00
NEW - [Quick Actions] Enable home screen quick actions to quickly launch into up to 4 modules - [Tautulli/User] Implemented user pages including profile, history, synced, and IP addresses - [Settings/Resources] Added link to join TestFlight TWEAKS - [Home/Modules] Slightly adjusted design of quick links - [Settings] Slightly adjusted design of module tiles FIXES - [Home/Modules] Search tile would not show up after adding first indexer until a route change - [Tautulli/Activity] Tautulli could show an incorrect transcode container
33 lines
1009 B
Dart
33 lines
1009 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:lunasea/core.dart';
|
|
|
|
class LidarrConstants {
|
|
LidarrConstants._();
|
|
|
|
static const MODULE_KEY = 'lidarr';
|
|
|
|
static const ModuleMap MODULE_MAP = ModuleMap(
|
|
name: 'Lidarr',
|
|
description: 'Manage Music',
|
|
settingsDescription: 'Configure Lidarr',
|
|
icon: CustomIcons.music,
|
|
route: '/lidarr',
|
|
color: Color(0xFF159552),
|
|
);
|
|
|
|
static const Map EVENT_TYPE_MESSAGES = {
|
|
'trackFileRenamed': 'Track File Renamed',
|
|
'trackFileDeleted': 'Track File Deleted',
|
|
'trackFileImported': 'Track File Imported',
|
|
'albumImportIncomplete': 'Album Import Incomplete',
|
|
'downloadImported': 'Download Imported',
|
|
'downloadFailed': 'Download Failed',
|
|
'grabbed': 'Grabbed From',
|
|
};
|
|
|
|
//ignore: non_constant_identifier_names
|
|
static final ShortcutItem MODULE_QUICK_ACTION = ShortcutItem(
|
|
type: MODULE_KEY,
|
|
localizedTitle: MODULE_MAP.name,
|
|
);
|
|
} |