About new stuff

This commit is contained in:
lumaa-dev 2024-09-26 01:32:17 +02:00
parent fbf4b48ce3
commit 50a8458416
2 changed files with 69 additions and 14 deletions

View File

@ -125,6 +125,38 @@
} }
} }
}, },
"about.other" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Third-parties"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Services tiers"
}
}
}
},
"about.subclub" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "About sub.club"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "À propos de sub.club"
}
}
}
},
"about.version-%@" : { "about.version-%@" : {
"localizations" : { "localizations" : {
"en" : { "en" : {

View File

@ -29,6 +29,28 @@ struct AboutView: View {
.listRowThreaded() .listRowThreaded()
} }
Section {
Text("about.other")
.textCase(.lowercase)
.font(.callout.lowercaseSmallCaps())
.foregroundStyle(Color.gray)
.listRowBackground(Color.appBackground)
Button {
UniversalNavigator.static.presentedSheet = .aboutSubclub
} label: {
Text("about.subclub")
}
.listRowThreaded()
}
Section {
Text(String("Bubble+"))
.textCase(.lowercase)
.font(.callout.lowercaseSmallCaps())
.foregroundStyle(Color.gray)
.listRowBackground(Color.appBackground)
Toggle("setting.experimental.activate", isOn: $userPreferences.showExperimental) Toggle("setting.experimental.activate", isOn: $userPreferences.showExperimental)
.listRowThreaded() .listRowThreaded()
.tint(Color(uiColor: UIColor.label)) .tint(Color(uiColor: UIColor.label))
@ -44,6 +66,7 @@ struct AboutView: View {
} }
} }
} }
}
.listThreaded() .listThreaded()
.navigationTitle("about") .navigationTitle("about")
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)