App polish part 3 (#1135)

- Add an animation to long press on messages.
- Make emojis bigger on the reactions picker screen.
- Remove quote menu action.
- Fix emoji picker handle overlapping focused search field.
- Update launch, splash and onboarding screens.
- Use elevation tokens in Forms.
- Move the cancel button on the Start Chat flow.
This commit is contained in:
Doug
2023-06-22 14:37:47 +01:00
committed by GitHub
parent 030b1b0bfa
commit d865c3bc8a
47 changed files with 2054 additions and 5570 deletions

View File

@@ -28,13 +28,13 @@ struct StartChatScreen: View {
searchContent
}
}
.elementFormStyle()
.compoundForm()
.track(screen: .startChat)
.scrollDismissesKeyboard(.immediately)
.navigationTitle(L10n.actionStartChat)
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
ToolbarItem(placement: .cancellationAction) {
closeButton
}
}
@@ -73,7 +73,7 @@ struct StartChatScreen: View {
}
.buttonStyle(FormButtonStyle(accessory: .navigationLink))
}
.formSectionStyle()
.compoundFormSection()
}
private var inviteFriendsSection: some View {
@@ -84,7 +84,7 @@ struct StartChatScreen: View {
.buttonStyle(FormButtonStyle())
.accessibilityIdentifier(A11yIdentifiers.startChatScreen.inviteFriends)
}
.formSectionStyle()
.compoundFormSection()
}
@ViewBuilder
@@ -102,8 +102,7 @@ struct StartChatScreen: View {
Text(title)
}
}
.listRowSeparator(.automatic)
.formSectionStyle()
.compoundFormSection()
} else {
Section.empty
}