Files
lunasea/lib/modules/lidarr/core/constants.dart
Jagandeep Brar b4df26abb6 [TestFlight] v4.0.0+400003 (#246)
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
2020-08-27 09:26:05 -05:00

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,
);
}