mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 18:21:00 +00:00
group slider and text of "max reply indentation" setting (#1749)
This commit is contained in:
parent
0d37cdf64b
commit
038d029022
1 changed files with 9 additions and 7 deletions
|
@ -207,6 +207,7 @@ struct DisplaySettingsView: View {
|
|||
Toggle("settings.display.pending-left", isOn: $userPreferences.pendingShownLeft)
|
||||
Toggle("settings.display.show-reply-indentation", isOn: $userPreferences.showReplyIndentation)
|
||||
if userPreferences.showReplyIndentation {
|
||||
VStack {
|
||||
Slider(value: .init(get: {
|
||||
Double(userPreferences.maxReplyIndentation)
|
||||
}, set: { newVal in
|
||||
|
@ -216,6 +217,7 @@ struct DisplaySettingsView: View {
|
|||
.font(.scaledBody)
|
||||
}
|
||||
}
|
||||
}
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue