Fix avatar service not returning generated image on network error. Fix padding and make nav buttons private.

This commit is contained in:
David Langley
2021-08-12 13:49:56 +01:00
parent 504349f40a
commit 814741edf3
3 changed files with 16 additions and 9 deletions
@@ -36,7 +36,9 @@ struct RoomNotificationSettingsHeaderView: View {
}
}
Spacer()
}.padding(.top, 36)
}
.padding(.top, 36)
.padding(.bottom, 20)
}
}
@@ -25,7 +25,7 @@ struct RoomNotificationSettingsView: View {
let presentedModally: Bool
@ViewBuilder
var leftButton: some View {
private var leftButton: some View {
if presentedModally {
SwiftUI.Button(VectorL10n.cancel) {
viewModel.process(viewAction: .cancel)
@@ -33,7 +33,7 @@ struct RoomNotificationSettingsView: View {
}
}
var rightButton: some View {
private var rightButton: some View {
Button(VectorL10n.save) {
viewModel.process(viewAction: .save)
}