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
@@ -14,7 +14,9 @@ import 'package:cutdex_ui/widgets.dart';
|
||||
import '../media/background_tasks_dialog.dart';
|
||||
|
||||
class BackgroundTasksButton extends ConsumerWidget {
|
||||
const BackgroundTasksButton({super.key});
|
||||
const BackgroundTasksButton({super.key, this.iconSize = AppIconSize.header});
|
||||
|
||||
final double iconSize;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
@@ -40,7 +42,7 @@ class BackgroundTasksButton extends ConsumerWidget {
|
||||
onPressed: toggle,
|
||||
icon: Badge(
|
||||
isLabelVisible: hasRunningTasks(),
|
||||
child: const Icon(Icons.task_alt_outlined, size: AppIconSize.header),
|
||||
child: Icon(Icons.task_alt_outlined, size: iconSize),
|
||||
),
|
||||
);
|
||||
return AppPopover(
|
||||
|
||||
Reference in new issue
Block a user