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-%@" : {
"localizations" : {
"en" : {

View File

@ -29,6 +29,28 @@ struct AboutView: View {
.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)
.listRowThreaded()
.tint(Color(uiColor: UIColor.label))
@ -44,6 +66,7 @@ struct AboutView: View {
}
}
}
}
.listThreaded()
.navigationTitle("about")
.navigationBarTitleDisplayMode(.inline)