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";
@override
_ActivityPageState createState() => _ActivityPageState();
ConsumerState<ConsumerStatefulWidget> createState() => _ActivityPageState();
}
class _ActivityPageState extends ConsumerState<ActivityPage>

View File

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

View File

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