mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
(feat): [Radarr] Ability to view and manage the queue (#414)
* (queue): Ability to view basic queue, delete queue record * (fix): [UI] Show mouse cursor on ListTile when onTap or onLongPress are not null * (fix): [UI] Fix height/width of sorting/filtering buttons, ensure consistent fixed-height for input bars * (fix): [Lists] Remove default drag handles from ReorderableListView * (fix): Further safe-guarded with platform checks * (fix): Hide settings options on incompatible platforms * (chore): Update CHANGELOG.md * (fix): Switch from package_info to package_info_plus to support MacOS and other platforms * (chore): Update packages * (chore): Update Podfile * (tweak): [Icons] Add font_awesome_flutter, change Icon() usages to FaIcon() to prepare * (tweak): [Sonarr/Queue] Utilize a cleaner messages dialog view * (feat): [Radarr/Queue] Add movie name and quality profile to collapsed tile * (fix): [UI/AppBar] Back button was top-left aligned instead of centered * (feat): [Icons] Add FontAwesome Pro icons * (tweak): [Icons] Rollback to FontAwesome 5 * (tweak): [Icons] Rollback to FontAwesome 5 * (fix): [Icons] Revert back to system icons for now * (fix): [Icons] Revert from FaIcon to Icon * (tweak): [UI/Expandable Tile] Show two buttons per line, wrapping to a new line when necessary * (feat): [Radarr] Queue implementation finished * (fix): [Queue] Safe-guard some data model usages * (chore): Update CHANGELOG.md
This commit is contained in:
@@ -91,6 +91,25 @@ class LunaDialogs {
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> showMessages(BuildContext context, List<String> messages) async {
|
||||
if((messages ?? []).isEmpty) return textPreview(context, 'Messages', 'No messages found');
|
||||
await LunaDialog.dialog(
|
||||
context: context,
|
||||
title: 'Messages',
|
||||
cancelButtonText: 'Close',
|
||||
content: List.generate(
|
||||
messages.length,
|
||||
(index) => LunaDialog.tile(
|
||||
text: messages[index],
|
||||
icon: Icons.info_outline_rounded,
|
||||
iconColor: LunaColours.accent,
|
||||
),
|
||||
),
|
||||
contentPadding: LunaDialog.listDialogContentPadding(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/// **Will be removed in future**
|
||||
///
|
||||
/// Show a delete catalogue with all files warning dialog.
|
||||
|
||||
Reference in New Issue
Block a user