mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Tweak settings items
This commit is contained in:
parent
d814769c01
commit
2c26908237
2 changed files with 10 additions and 13 deletions
|
@ -356,8 +356,6 @@
|
|||
"settingsForceRotationTitle": "Ignore rotation lock",
|
||||
"settingsForceRotationDescription": "Rotate the screen even when auto rotation is disabled",
|
||||
"settingsMapProviderTitle": "Map provider",
|
||||
"settingsAlbumTitle": "Album",
|
||||
"settingsAlbumDescription": "Customize albums",
|
||||
"settingsShowDateInAlbumTitle": "Group photos by date",
|
||||
"settingsShowDateInAlbumDescription": "Apply only when the album is sorted by time",
|
||||
"settingsImageEditTitle": "Editor",
|
||||
|
|
|
@ -112,6 +112,13 @@ class _SettingsState extends State<Settings> {
|
|||
},
|
||||
),
|
||||
),
|
||||
_buildSubSettings(
|
||||
context,
|
||||
leading: const Icon(Icons.palette_outlined),
|
||||
label: L10n.global().settingsThemeTitle,
|
||||
description: L10n.global().settingsThemeDescription,
|
||||
builder: () => const ThemeSettings(),
|
||||
),
|
||||
_buildSubSettings(
|
||||
context,
|
||||
leading: const Icon(Icons.local_offer_outlined),
|
||||
|
@ -127,9 +134,8 @@ class _SettingsState extends State<Settings> {
|
|||
),
|
||||
_buildSubSettings(
|
||||
context,
|
||||
leading: const Icon(Icons.photo_album_outlined),
|
||||
label: L10n.global().settingsAlbumTitle,
|
||||
description: L10n.global().settingsAlbumDescription,
|
||||
leading: const Icon(Icons.grid_view_outlined),
|
||||
label: L10n.global().collectionsTooltip,
|
||||
builder: () => _AlbumSettings(),
|
||||
),
|
||||
_buildSubSettings(
|
||||
|
@ -147,13 +153,6 @@ class _SettingsState extends State<Settings> {
|
|||
description: L10n.global().settingsImageEditDescription,
|
||||
builder: () => const EnhancementSettings(),
|
||||
),
|
||||
_buildSubSettings(
|
||||
context,
|
||||
leading: const Icon(Icons.palette_outlined),
|
||||
label: L10n.global().settingsThemeTitle,
|
||||
description: L10n.global().settingsThemeDescription,
|
||||
builder: () => const ThemeSettings(),
|
||||
),
|
||||
_buildSubSettings(
|
||||
context,
|
||||
leading: const Icon(Icons.emoji_symbols_outlined),
|
||||
|
@ -735,7 +734,7 @@ class _AlbumSettingsState extends State<_AlbumSettings> {
|
|||
slivers: [
|
||||
SliverAppBar(
|
||||
pinned: true,
|
||||
title: Text(L10n.global().settingsAlbumTitle),
|
||||
title: Text(L10n.global().collectionsTooltip),
|
||||
),
|
||||
SliverList(
|
||||
delegate: SliverChildListDelegate(
|
||||
|
|
Loading…
Reference in a new issue