fix: dialog title

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-27 16:16:01 +08:00
parent d28efef672
commit 2c55314491
4 changed files with 11 additions and 8 deletions

View File

@@ -276,7 +276,10 @@ class MyApp extends StatelessWidget {
refreshBackgroundColor: colorScheme.onSecondary,
),
dialogTheme: DialogTheme(
titleTextStyle: TextStyle(fontSize: 18),
titleTextStyle: TextStyle(
fontSize: 18,
color: colorScheme.onSurface,
),
),
);
}

View File

@@ -86,7 +86,7 @@ class _FavDetailPageState extends State<FavDetailPage> {
pinned: true,
title: _favDetailController.enableMultiSelect.value
? Text(
'已选${_favDetailController.checkedCount.value}',
'已选: ${_favDetailController.checkedCount.value}',
)
: Obx(
() => AnimatedOpacity(
@@ -131,7 +131,7 @@ class _FavDetailPageState extends State<FavDetailPage> {
mediaId: _favDetailController.mediaId,
),
child: Text(
'复制',
'复制',
style: TextStyle(
color: Theme.of(context)
.colorScheme
@@ -151,7 +151,7 @@ class _FavDetailPageState extends State<FavDetailPage> {
mediaId: _favDetailController.mediaId,
),
child: Text(
'移动',
'移动',
style: TextStyle(
color: Theme.of(context)
.colorScheme

View File

@@ -103,7 +103,7 @@ class _HistoryPageState extends State<HistoryPage> {
),
title: Obx(
() => Text(
'已选${_historyController.checkedCount.value}',
'已选: ${_historyController.checkedCount.value}',
),
),
actions: [

View File

@@ -76,7 +76,7 @@ class _LaterPageState extends State<LaterPage> {
),
title: Obx(
() => Text(
'已选${_laterController.checkedCount.value}',
'已选: ${_laterController.checkedCount.value}',
),
),
actions: [
@@ -98,7 +98,7 @@ class _LaterPageState extends State<LaterPage> {
mediaId: null,
),
child: Text(
'复制',
'复制',
style: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
@@ -115,7 +115,7 @@ class _LaterPageState extends State<LaterPage> {
mediaId: null,
),
child: Text(
'移动',
'移动',
style: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),