Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9bf78dd
fix: 修复个性化设置滚动布局最下面会被非安全区覆盖的问题
SmallFox0305 Jul 13, 2026
b72d78d
fix: 解决洞察界面滚动到下方 最后一项无法显示完整的问题
SmallFox0305 Jul 13, 2026
4201c42
fix: 解决我的界面功能列表最后一项无法展示完整的bug
SmallFox0305 Jul 13, 2026
e915beb
fix: 解决分类管理 分类列表滚动最下方元素无法展示完整的bug
SmallFox0305 Jul 13, 2026
86c9959
fix: 修复记账界面 - 分类类表下方的分类管理无法完整显示的bug
SmallFox0305 Jul 13, 2026
c93cc49
fix: 修复显示缩放下方的说明文字无法正常显示的问题
SmallFox0305 Jul 13, 2026
996a0aa
fix: 修复主题色页面最下方的显示不完整问题
SmallFox0305 Jul 13, 2026
ddaaae3
fix: 修复皮肤设置页面底部显示问题
SmallFox0305 Jul 13, 2026
46fa9ba
fix: 修复使用帮助页面底部因安全区问题无法显示完整的bug
SmallFox0305 Jul 13, 2026
78a2e97
fix: 修复记账提醒设置页面底部因安全区问题无法显示完整的bug
SmallFox0305 Jul 13, 2026
1c86811
fix: 修复添加周期账单页面底部因安全问题无法将保存按钮显示完整的问题 并把按钮移动到表单内
SmallFox0305 Jul 13, 2026
6bd352c
fix: 修复明细列表滚动 因底部安全区问题引起的遮挡问题
SmallFox0305 Jul 13, 2026
89b9151
fix: 修复资产列表因底部安全区问题被遮挡的问题
SmallFox0305 Jul 13, 2026
13b8306
fix: 修复周期长当界面 因安全区问题遮挡滚动列表底部元素的bug
SmallFox0305 Jul 13, 2026
3697ab2
fix: 修复明细页面因设置安全区后 无法在状态栏显示内容的bug
SmallFox0305 Jul 13, 2026
7bdadb5
fix: 移除洞察页底部留白 安全区已设置 不再需要此配置
SmallFox0305 Jul 13, 2026
e12d29d
fix: 修复资产页面底部的大留白 安全区已设置 不再需要此留白
SmallFox0305 Jul 13, 2026
24aff62
fix: 修复快捷指令页面 因安全区问题导致的滚动列表底部被安全区遮挡的问题
SmallFox0305 Jul 13, 2026
dc1243b
fix: 去除个性化设置列表顶部的控制
SmallFox0305 Jul 13, 2026
0a6b496
fix: 移除 我的页面底部的留白 安全区已设置 不需要此留白
SmallFox0305 Jul 13, 2026
ec9b262
fix: 缩小交易列表下方的间隙 安全区已设置 不需要如此大的留白
SmallFox0305 Jul 13, 2026
d2180b9
fix: 移除资产列表顶部的留白
SmallFox0305 Jul 13, 2026
7a24e19
fix: 修复使用帮助界面 列表顶部的空隙
SmallFox0305 Jul 14, 2026
7150747
fix: 修复记账界面 选择记账类型列表上方存在的空白
SmallFox0305 Jul 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/pages/account/accounts_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ class _AccountsPageState extends ConsumerState<AccountsPage> {
data: (accounts) {
final groups = _reorderingGroups ?? _groupAccounts(accounts);

return ListView(
return SafeArea(
top: false,
child: ListView(
padding: EdgeInsets.only(
left: 12.0.scaled(context, ref),
right: 12.0.scaled(context, ref),
top: 8.0.scaled(context, ref),
bottom: widget.asTab
? 8.0.scaled(context, ref) + 56 + MediaQuery.of(context).padding.bottom + 24
: 8.0.scaled(context, ref),
bottom: 16.scaled(context, ref)
),
children: [
if (accounts.isEmpty)
Expand Down Expand Up @@ -237,7 +237,7 @@ class _AccountsPageState extends ConsumerState<AccountsPage> {
}),
],
],
);
));
},
loading: () => const Center(child: CircularProgressIndicator()),
error: (err, stack) => Center(
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/category/category_manage_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class _CategoryManagePageState extends ConsumerState<CategoryManagePage> with Ti
),
_buildTransferIconSetting(context, l10n, primaryColor),
Expanded(
child: SafeArea(
top: false,
child: categoriesWithCountAsync.when(
loading: () => const Center(child: CircularProgressIndicator()),
error: (error, stack) => Center(child: Text(l10n.categoryLoadFailed(error.toString()))),
Expand All @@ -103,7 +105,7 @@ class _CategoryManagePageState extends ConsumerState<CategoryManagePage> with Ti
);
},
),
),
)),
],
),
);
Expand Down
8 changes: 4 additions & 4 deletions lib/pages/main/analytics_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,9 @@ class _AnalyticsPageState extends ConsumerState<AnalyticsPage> {
_cycleTypeForward();
}
},
child: ListView(
child: SafeArea(
top: false,
child: ListView(
padding: const EdgeInsets.all(16),
children: [
AnalyticsSummary(
Expand Down Expand Up @@ -1001,11 +1003,9 @@ class _AnalyticsPageState extends ConsumerState<AnalyticsPage> {
selMonth: selMonth,
subCategories: item.subCategories,
),
// 底部留白,避免被悬浮 Tab 栏遮挡
SizedBox(height: 56 + 12 + MediaQuery.of(context).viewPadding.bottom + 16),
],
),
);
));
},
),
)
Expand Down
6 changes: 4 additions & 2 deletions lib/pages/main/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,9 @@ class _HomePageState extends ConsumerState<HomePage> {

return Scaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor, // ⭐ 自适应背景色
body: Column(
body: SafeArea(
top: false,
child: Column(
children: [
Consumer(builder: (context, ref, _) {
ref.watch(headerStyleProvider);
Expand Down Expand Up @@ -1081,7 +1083,7 @@ class _HomePageState extends ConsumerState<HomePage> {
),
),
],
),
)),
);
}
}
Expand Down
6 changes: 3 additions & 3 deletions lib/pages/main/mine_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class MinePage extends ConsumerWidget {
content: _MinePageHeader(),
),
Expanded(
child: SafeArea(
top: false,
child: ListView(
padding: EdgeInsets.zero,
physics: const AlwaysScrollableScrollPhysics(),
Expand Down Expand Up @@ -531,11 +533,9 @@ class MinePage extends ConsumerWidget {
),
),
SizedBox(height: BeeDimens.p16.scaled(context, ref)),
// 底部留白,避免被悬浮 Tab 栏遮挡
SizedBox(height: 56 + 12 + MediaQuery.of(context).viewPadding.bottom + 16),
],
),
),
)),
],
),
);
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/settings/appearance_settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class AppearanceSettingsPage extends ConsumerWidget {
showBack: true,
),
Expanded(
child: SafeArea(
top: false,
child: ListView(
padding: const EdgeInsets.all(16),
children: [
Expand Down Expand Up @@ -261,7 +263,7 @@ class AppearanceSettingsPage extends ConsumerWidget {
),
],
),
),
)),
],
),
);
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/settings/font_settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class FontSettingsPage extends ConsumerWidget {
children: [
PrimaryHeader(title: AppLocalizations.of(context)!.mineDisplayScale, showBack: true, compact: true),
Expanded(
child: SafeArea(
top: false,
child: ListView(
padding: const EdgeInsets.fromLTRB(16, 8, 16, 16),
children: [
Expand Down Expand Up @@ -74,7 +76,7 @@ class FontSettingsPage extends ConsumerWidget {
?.copyWith(color: BeeTokens.textSecondary(context))),
],
),
),
)),
],
),
);
Expand Down
3 changes: 2 additions & 1 deletion lib/pages/settings/header_skin_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class HeaderSkinPage extends ConsumerWidget {
showBack: true,
),
Expanded(
child: SafeArea(
child: GridView.count(
crossAxisCount: 2,
padding: const EdgeInsets.all(16),
Expand All @@ -66,7 +67,7 @@ class HeaderSkinPage extends ConsumerWidget {
),
],
),
),
)),
],
),
);
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/settings/help_center_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ class _HelpCenterPageState extends ConsumerState<HelpCenterPage> {
],
),
Expanded(
child: SafeArea(
top: false,
child: Stack(
children: [
if (_controller != null && !_failed)
Expand Down Expand Up @@ -230,7 +232,7 @@ class _HelpCenterPageState extends ConsumerState<HelpCenterPage> {
),
],
),
),
)),
],
),
),
Expand Down
3 changes: 2 additions & 1 deletion lib/pages/settings/personalize_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class _PersonalizePageState extends ConsumerState<PersonalizePage> {
compact: true,
),
Expanded(
child: SafeArea(
child: ListView(
padding: const EdgeInsets.all(16),
children: [
Expand Down Expand Up @@ -98,7 +99,7 @@ class _PersonalizePageState extends ConsumerState<PersonalizePage> {
),
],
),
),
)),
],
),
);
Expand Down
3 changes: 2 additions & 1 deletion lib/pages/settings/reminder_settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ReminderSettingsPage extends ConsumerWidget {
showBack: true,
),
Expanded(
child: SafeArea(
child: ListView(
padding: EdgeInsets.zero,
children: [
Expand Down Expand Up @@ -390,7 +391,7 @@ class ReminderSettingsPage extends ConsumerWidget {
const SizedBox(height: 32),
],
),
),
)),
],
),
);
Expand Down
6 changes: 4 additions & 2 deletions lib/pages/settings/shortcuts_guide_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class ShortcutsGuidePage extends ConsumerWidget {

return Scaffold(
backgroundColor: BeeTokens.scaffoldBackground(context),
body: Column(
body: SafeArea(
top: false,
child: Column(
children: [
PrimaryHeader(
title: l10n.shortcutsGuide,
Expand Down Expand Up @@ -56,7 +58,7 @@ class ShortcutsGuidePage extends ConsumerWidget {
),
),
],
),
)),
);
}

Expand Down
7 changes: 4 additions & 3 deletions lib/pages/transaction/recurring_transaction_edit_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ class _RecurringTransactionEditPageState extends ConsumerState<RecurringTransact
] : null,
),
Expanded(
child: Form(
key: _formKey,
child: Form(
key: _formKey,
child: SafeArea(
child: ListView(
padding: const EdgeInsets.all(16),
children: [
Expand Down Expand Up @@ -209,7 +210,7 @@ class _RecurringTransactionEditPageState extends ConsumerState<RecurringTransact
],
),
),
),
)),

// 底部保存按钮
Container(
Expand Down
8 changes: 5 additions & 3 deletions lib/pages/transaction/recurring_transaction_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ class RecurringTransactionPage extends ConsumerWidget {
);
}

return ListView.builder(
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 16),
return SafeArea(
child: ListView.builder(
padding:
const EdgeInsets.symmetric(horizontal: 12, vertical: 16),
itemCount: recurringTransactions.length + 1, // +1 for usage guide card
itemBuilder: (context, index) {
// 第一个显示使用说明卡片
Expand All @@ -84,7 +86,7 @@ class RecurringTransactionPage extends ConsumerWidget {
final recurring = recurringTransactions[index - 1];
return _RecurringTransactionCard(recurring: recurring);
},
);
));
},
),
),
Expand Down
4 changes: 1 addition & 3 deletions lib/widgets/biz/transaction_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,7 @@ class TransactionListState extends ConsumerState<TransactionList> {
final type = item.$1 as String;

if (type == 'bottomSpacer') {
// 悬浮 Tab 栏高度(56) + 浮动间距(12) + 安全区 + 额外间距
final bottomPadding = MediaQuery.of(context).viewPadding.bottom;
return SizedBox(height: 56 + 12 + bottomPadding + 16);
return SizedBox(height: 16);
}

if (type == 'header') {
Expand Down
6 changes: 4 additions & 2 deletions lib/widgets/category/category_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,12 @@ class _CategorySelectorState extends ConsumerState<CategorySelector> {
);
displayItems.add(const SizedBox(height: 12));

return ListView(
return SafeArea(
top: false,
child: ListView(
padding: const EdgeInsets.fromLTRB(12, 12, 12, 12),
children: displayItems,
);
));
},
);
},
Expand Down