fix: ui alignment

This commit is contained in:
Simon Ding
2024-08-04 10:22:47 +08:00
parent 56d5cdb2bf
commit 4d3b26135c
3 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ class ActivityPage extends ConsumerStatefulWidget {
static const route = "/activities"; static const route = "/activities";
@override @override
_ActivityPageState createState() => _ActivityPageState(); ConsumerState<ConsumerStatefulWidget> createState() => _ActivityPageState();
} }
class _ActivityPageState extends ConsumerState<ActivityPage> class _ActivityPageState extends ConsumerState<ActivityPage>

View File

@@ -52,7 +52,7 @@ class NestedTabBar extends ConsumerStatefulWidget {
const NestedTabBar({super.key, required this.id}); const NestedTabBar({super.key, required this.id});
@override @override
_NestedTabBarState createState() => _NestedTabBarState(); ConsumerState<ConsumerStatefulWidget> createState() => _NestedTabBarState();
} }
class _NestedTabBarState extends ConsumerState<NestedTabBar> class _NestedTabBarState extends ConsumerState<NestedTabBar>

View File

@@ -50,12 +50,12 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
child: ep.status == "downloading" child: ep.status == "downloading"
? const Tooltip( ? const Tooltip(
message: "下载中", message: "下载中",
child: Icon(Icons.downloading), child: IconButton(onPressed: null, icon: Icon(Icons.downloading)),
) )
: (ep.status == "downloaded" : (ep.status == "downloaded"
? const Tooltip( ? const Tooltip(
message: "已下载", message: "已下载",
child: Icon(Icons.download_done), child: IconButton(onPressed: null, icon: Icon(Icons.download_done)),
) )
: (ep.monitored == true : (ep.monitored == true
? Tooltip( ? Tooltip(