Backport base Form style from Compound. (#1009)

Apply to all screens using the formBackground colour.
This commit is contained in:
Doug
2023-06-02 11:39:03 +01:00
committed by GitHub
parent 0972af30cf
commit 44062adb0f
8 changed files with 21 additions and 37 deletions
@@ -22,8 +22,7 @@ struct InviteUsersScreen: View {
var body: some View {
mainContent
.scrollContentBackground(.hidden)
.background(Color.element.formBackground.ignoresSafeArea())
.elementFormStyle()
.navigationTitle(L10n.screenCreateRoomActionInvitePeople)
.navigationBarTitleDisplayMode(.inline)
.toolbar {