mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +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,
|
||||
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(
|
||||
context,
|
||||
leading: Icon(
|
||||
|
@ -170,6 +160,16 @@ class _SettingsState extends State<Settings> {
|
|||
description: L10n.global().settingsAlbumDescription,
|
||||
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)
|
||||
_buildSubSettings(
|
||||
context,
|
||||
|
|
Loading…
Reference in a new issue