mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-19 01:56:53 +08:00
@@ -27,9 +27,7 @@ class _RankPageState extends State<RankPage>
|
||||
SizedBox(
|
||||
width: 64,
|
||||
child: ListView(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
),
|
||||
padding: const EdgeInsets.only(bottom: 100),
|
||||
children: List.generate(
|
||||
RankType.values.length,
|
||||
(index) => IntrinsicHeight(
|
||||
@@ -53,13 +51,14 @@ class _RankPageState extends State<RankPage>
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Container(
|
||||
height: double.infinity,
|
||||
width: 3,
|
||||
color: isCurr
|
||||
? theme.colorScheme.primary
|
||||
: Colors.transparent,
|
||||
),
|
||||
if (isCurr)
|
||||
Container(
|
||||
height: double.infinity,
|
||||
width: 3,
|
||||
color: theme.colorScheme.primary,
|
||||
)
|
||||
else
|
||||
const SizedBox(width: 3),
|
||||
Expanded(
|
||||
flex: 1,
|
||||
child: Container(
|
||||
|
||||
@@ -41,10 +41,7 @@ class _ZonePageState extends CommonPageState<ZonePage, ZoneController>
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 7,
|
||||
bottom: MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
),
|
||||
padding: const EdgeInsets.only(top: 7, bottom: 100),
|
||||
sliver: Obx(() => _buildBody(controller.loadingState.value)),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user