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