mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: style settings
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -109,9 +109,9 @@ class MainController extends GetxController {
|
||||
selectedIndex = defaultIndex != -1 ? defaultIndex : 0;
|
||||
pages = navigationBars
|
||||
.map<Widget>((e) => switch (e['id']) {
|
||||
0 => HomePage(),
|
||||
1 => DynamicsPage(),
|
||||
2 => MediaPage(),
|
||||
0 => const HomePage(),
|
||||
1 => const DynamicsPage(),
|
||||
2 => const MediaPage(),
|
||||
_ => throw UnimplementedError(),
|
||||
})
|
||||
.toList();
|
||||
|
||||
Reference in New Issue
Block a user