mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
opt: safearea
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -134,15 +134,13 @@ class _FavPageState extends State<FavPage> with SingleTickerProviderStateMixin {
|
||||
tabs: _FavType.values.map((item) => Tab(text: item.title)).toList(),
|
||||
),
|
||||
),
|
||||
body: tabBarView(
|
||||
controller: _tabController,
|
||||
children: _FavType.values
|
||||
.map((item) => SafeArea(
|
||||
top: false,
|
||||
bottom: false,
|
||||
child: item.page,
|
||||
))
|
||||
.toList(),
|
||||
body: SafeArea(
|
||||
top: false,
|
||||
bottom: false,
|
||||
child: tabBarView(
|
||||
controller: _tabController,
|
||||
children: _FavType.values.map((item) => item.page).toList(),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user