This repository was archived by the owner on Mar 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ struct MainSidebarView: View {
3131 NavigationLink ( value: SidebarItem . updater) {
3232 Label ( " Updater " , systemImage: " square.and.arrow.down " )
3333 }
34- NavigationLink ( value: SidebarItem . about ) {
35- Label ( " About " , systemImage: " info.circle " )
34+ NavigationLink ( value: SidebarItem . settings ) {
35+ Label ( " Settings " , systemImage: " gear " )
3636 }
3737 }
3838 . navigationTitle ( " ProStore " )
@@ -59,10 +59,10 @@ struct MainSidebarView: View {
5959 . navigationTitle ( " Store " )
6060 . navigationBarTitleDisplayMode ( . large)
6161 }
62- case . about :
62+ case . settings :
6363 NavigationStack {
64- AboutView ( )
65- . navigationTitle ( " About " )
64+ SettingsView ( )
65+ . navigationTitle ( " Settings " )
6666 . navigationBarTitleDisplayMode ( . large)
6767 }
6868 case . updater:
@@ -82,7 +82,7 @@ enum SidebarItem: Hashable {
8282 case updater
8383 case certificates
8484 case store
85- case about
85+ case settings
8686
8787}
8888
Original file line number Diff line number Diff line change 1- // AboutView .swift
1+ // SettingsView .swift
22import SwiftUI
33
44struct Credit : Identifiable {
@@ -9,7 +9,7 @@ struct Credit: Identifiable {
99 var avatarURL : URL
1010}
1111
12- struct AboutView : View {
12+ struct SettingsView : View {
1313 private let credits : [ Credit ] = [
1414 Credit (
1515 name: " SuperGamer474 " ,
@@ -85,18 +85,19 @@ struct AboutView: View {
8585 . padding ( . vertical, 20 )
8686 . listRowInsets ( EdgeInsets ( ) )
8787
88- Section ( header: Text ( " Credits " ) ) {
89- ForEach ( credits) { c in
90- CreditRow ( credit: c)
91- }
92- }
93-
88+
9489 Section {
9590 Button ( " Show Setup " ) {
9691 showingSetup = true
9792 }
9893 . buttonStyle ( . borderedProminent)
9994 }
95+
96+ Section ( header: Text ( " Credits " ) ) {
97+ ForEach ( credits) { c in
98+ CreditRow ( credit: c)
99+ }
100+ }
100101 }
101102 . listStyle ( InsetGroupedListStyle ( ) )
102103 }
You can’t perform that action at this time.
0 commit comments