mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 18:10:29 +00:00
fix(ui): enable task detail text selection and compact extension stats (#1511)
This commit is contained in:
6 files changed
+236
-71
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/foundation.dart' show TargetPlatform, defaultTargetPlatform, kIsWeb;
|
||||
import 'package:flutter/material.dart' show Colors, Icons;
|
||||
import 'package:flutter/material.dart' show Colors, Icons, SelectionArea;
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:shadcn_flutter/shadcn_flutter.dart' as shad;
|
||||
@@ -122,7 +122,7 @@ class _TaskDetailsViewState extends ConsumerState<TaskDetailsView> {
|
||||
? AppDesignTokens.taskDetailsMobilePadding
|
||||
: AppDesignTokens.taskDetailsDesktopPadding;
|
||||
final runtimeStatus = _tabIndex == 1 ? ref.watch(taskRuntimeStatusProvider(widget.task.id)).value : null;
|
||||
return Column(
|
||||
final content = Column(
|
||||
children: [
|
||||
Container(
|
||||
height: 48,
|
||||
@@ -204,6 +204,7 @@ class _TaskDetailsViewState extends ConsumerState<TaskDetailsView> {
|
||||
),
|
||||
],
|
||||
);
|
||||
return SelectionArea(key: const ValueKey('task-details-selection-area'), child: content);
|
||||
}
|
||||
|
||||
bool get _canOpenStoragePath {
|
||||
|
||||
Reference in new issue
Block a user