Compare commits

...

2 Commits

Author SHA1 Message Date
4cd50b4482 add other settings 2025-12-12 00:43:22 +03:00
e2a46cb20b add other settings 2025-12-12 00:42:26 +03:00
2 changed files with 21 additions and 0 deletions

View File

@ -2639,6 +2639,9 @@
},
"Рейтинг собеседника" : {
"comment" : "Message profile rating title"
},
"Рожки и ножки у сообщений" : {
},
"Сборка:" : {
"localizations" : {
@ -2818,6 +2821,12 @@
},
"Сообщение слишком длинное." : {
},
"Сообщения будут с рожками и ножками." : {
},
"Сообщения станут обычными закругленными облачками." : {
},
"Сообщите о материалах" : {
"comment" : "feedback category subtitle: content",

View File

@ -2,6 +2,7 @@ import SwiftUI
struct OtherSettingsView: View {
@AppStorage("messengerModeEnabled") private var isMessengerModeEnabled: Bool = false
@AppStorage("chatBubbleDecorationsEnabled") private var areBubbleDecorationsEnabled: Bool = true
var body: some View {
Form {
@ -15,6 +16,17 @@ struct OtherSettingsView: View {
.foregroundColor(.secondary)
}
.padding(.vertical, 8)
VStack(alignment: .leading, spacing: 4) {
Toggle(NSLocalizedString("Рожки и ножки у сообщений", comment: ""), isOn: $areBubbleDecorationsEnabled)
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
Text(areBubbleDecorationsEnabled
? NSLocalizedString("Сообщения будут с рожками и ножками.", comment: "")
: NSLocalizedString("Сообщения станут обычными закругленными облачками.", comment: ""))
.font(.footnote)
.foregroundColor(.secondary)
}
.padding(.vertical, 8)
}
.navigationTitle(Text(NSLocalizedString("Другое", comment: "")))
}