Compare commits
No commits in common. "4cd50b44822e5308339317bedebafd1e8f7b152e" and "beb7af003bda096e426101612fa113db008f242e" have entirely different histories.
4cd50b4482
...
beb7af003b
@ -2639,9 +2639,6 @@
|
|||||||
},
|
},
|
||||||
"Рейтинг собеседника" : {
|
"Рейтинг собеседника" : {
|
||||||
"comment" : "Message profile rating title"
|
"comment" : "Message profile rating title"
|
||||||
},
|
|
||||||
"Рожки и ножки у сообщений" : {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"Сборка:" : {
|
"Сборка:" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
@ -2821,12 +2818,6 @@
|
|||||||
},
|
},
|
||||||
"Сообщение слишком длинное." : {
|
"Сообщение слишком длинное." : {
|
||||||
|
|
||||||
},
|
|
||||||
"Сообщения будут с рожками и ножками." : {
|
|
||||||
|
|
||||||
},
|
|
||||||
"Сообщения станут обычными закругленными облачками." : {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"Сообщите о материалах" : {
|
"Сообщите о материалах" : {
|
||||||
"comment" : "feedback category subtitle: content",
|
"comment" : "feedback category subtitle: content",
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import SwiftUI
|
|||||||
|
|
||||||
struct OtherSettingsView: View {
|
struct OtherSettingsView: View {
|
||||||
@AppStorage("messengerModeEnabled") private var isMessengerModeEnabled: Bool = false
|
@AppStorage("messengerModeEnabled") private var isMessengerModeEnabled: Bool = false
|
||||||
@AppStorage("chatBubbleDecorationsEnabled") private var areBubbleDecorationsEnabled: Bool = true
|
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Form {
|
Form {
|
||||||
@ -16,17 +15,6 @@ struct OtherSettingsView: View {
|
|||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
}
|
}
|
||||||
.padding(.vertical, 8)
|
.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: "")))
|
.navigationTitle(Text(NSLocalizedString("Другое", comment: "")))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user