refactor(desktop): reorganize workspace panels and navigation
This commit is contained in:
1 parent
826745b407
commit
1f73765745
92 files changed
+5811
-2650
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import 'package:cutdex/shared/widgets/error_notification_host.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'subtitle_download.dart';
|
||||
@@ -691,8 +692,8 @@ class _SubtitleTaskCardState extends ConsumerState<_SubtitleTaskCard> {
|
||||
setState(() => _validationError = null);
|
||||
await action();
|
||||
if (mounted && !widget.details && _error != null) {
|
||||
ScaffoldMessenger.maybeOf(context)
|
||||
?.showSnackBar(SnackBar(content: Text(_error!)));
|
||||
ErrorNotificationHost.maybeOf(context)
|
||||
?.show(ErrorNotification(content: Text(_error!)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user