mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Design: Forms, Login and Members screen. (#608)
* Rename Settings styles to Form styles. * Removed redundant FormPickerRow. * Use the button style everywhere and fix icon shapes.
This commit is contained in:
+4
-1
@@ -29,8 +29,9 @@ struct DeveloperOptionsScreenScreen: View {
|
||||
Text("🥳")
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
.buttonStyle(FormButtonStyle())
|
||||
}
|
||||
.listRowBackground(Color.element.formRowBackground)
|
||||
.formSectionStyle()
|
||||
}
|
||||
.overlay(effectsView)
|
||||
.scrollContentBackground(.hidden)
|
||||
@@ -43,6 +44,8 @@ struct DeveloperOptionsScreenScreen: View {
|
||||
private var effectsView: some View {
|
||||
if showConfetti {
|
||||
EffectsView(effect: .confetti)
|
||||
.ignoresSafeArea()
|
||||
.allowsHitTesting(false)
|
||||
.task { await removeConfettiAfterDelay() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user