mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-27 09:24:45 +01:00
Rearrange some settings
This commit is contained in:
parent
e320b6b741
commit
04fcbfde94
1 changed files with 10 additions and 10 deletions
|
@ -150,16 +150,6 @@ class _SettingsState extends State<Settings> {
|
||||||
description: L10n.global().settingsPhotosDescription,
|
description: L10n.global().settingsPhotosDescription,
|
||||||
builder: () => _PhotosSettings(account: widget.account),
|
builder: () => _PhotosSettings(account: widget.account),
|
||||||
),
|
),
|
||||||
_buildSubSettings(
|
|
||||||
context,
|
|
||||||
leading: Icon(
|
|
||||||
Icons.view_carousel_outlined,
|
|
||||||
color: AppTheme.getUnfocusedIconColor(context),
|
|
||||||
),
|
|
||||||
label: L10n.global().settingsViewerTitle,
|
|
||||||
description: L10n.global().settingsViewerDescription,
|
|
||||||
builder: () => _ViewerSettings(),
|
|
||||||
),
|
|
||||||
_buildSubSettings(
|
_buildSubSettings(
|
||||||
context,
|
context,
|
||||||
leading: Icon(
|
leading: Icon(
|
||||||
|
@ -170,6 +160,16 @@ class _SettingsState extends State<Settings> {
|
||||||
description: L10n.global().settingsAlbumDescription,
|
description: L10n.global().settingsAlbumDescription,
|
||||||
builder: () => _AlbumSettings(),
|
builder: () => _AlbumSettings(),
|
||||||
),
|
),
|
||||||
|
_buildSubSettings(
|
||||||
|
context,
|
||||||
|
leading: Icon(
|
||||||
|
Icons.view_carousel_outlined,
|
||||||
|
color: AppTheme.getUnfocusedIconColor(context),
|
||||||
|
),
|
||||||
|
label: L10n.global().settingsViewerTitle,
|
||||||
|
description: L10n.global().settingsViewerDescription,
|
||||||
|
builder: () => _ViewerSettings(),
|
||||||
|
),
|
||||||
if (features.isSupportEnhancement)
|
if (features.isSupportEnhancement)
|
||||||
_buildSubSettings(
|
_buildSubSettings(
|
||||||
context,
|
context,
|
||||||
|
|
Loading…
Add table
Reference in a new issue