mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-21 03:07:30 +08:00
fix: ui alignment
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user