Skip to content

Commit

Permalink
Merge pull request #1202 from anyproto/ios-2427-fixed-order-names-and…
Browse files Browse the repository at this point in the history
…-icon-colors-in-settings

IOS-2427 Update settings order
  • Loading branch information
ignatovv authored Apr 12, 2024
2 parents fd9ade4 + e0cce2b commit ce3753b
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,12 @@ struct SettingsView: View {

SectionHeaderView(title: Loc.settings)

SettingsSectionItemView(
name: Loc.Settings.accountAndAccess,
imageAsset: .Settings.keychainPhrase,
onTap: { model.onAccountDataTap() }
)

SettingsSectionItemView(
name: Loc.appearance,
imageAsset: .Settings.appearance,
onTap: { model.onAppearanceTap() }
)

SettingsSectionItemView(
name: Loc.FileStorage.Local.title,
imageAsset: .Settings.fileStorage,
onTap: { model.onFileStorageTap() }
)

if FeatureFlags.multiplayer {
SettingsSectionItemView(
Expand All @@ -49,6 +38,18 @@ struct SettingsView: View {
)
}

SettingsSectionItemView(
name: Loc.FileStorage.Local.title,
imageAsset: .Settings.fileStorage,
onTap: { model.onFileStorageTap() }
)

SettingsSectionItemView(
name: Loc.Settings.accountAndAccess,
imageAsset: .Settings.keychainPhrase,
onTap: { model.onAccountDataTap() }
)

if FeatureFlags.membership {
SettingsSectionItemView(
name: Loc.membership,
Expand Down

0 comments on commit ce3753b

Please sign in to comment.