refactor: showLoadingDialog helper, json_serializable for plex_home
This commit is contained in:
@@ -711,13 +711,8 @@ class MediaContextMenuState extends State<MediaContextMenu> {
|
||||
final client = _getClientForItem();
|
||||
|
||||
try {
|
||||
// Show loading indicator
|
||||
if (context.mounted) {
|
||||
showDialog(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
builder: (context) => const Center(child: CircularProgressIndicator()),
|
||||
);
|
||||
showLoadingDialog(context);
|
||||
}
|
||||
|
||||
// Fetch file info
|
||||
|
||||
Reference in New Issue
Block a user