Rearrange some settings

This commit is contained in:
Ming Ming 2022-09-05 12:53:50 +08:00
parent e320b6b741
commit 04fcbfde94

View file

@ -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,