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 e65a2d2431
commit f2312f6f70
47 changed files with 2054 additions and 5570 deletions
@@ -18,12 +18,24 @@ import SwiftUI
class SplashScreenCoordinator: CoordinatorProtocol {
func toPresentable() -> AnyView {
AnyView(
ZStack {
Image(asset: Asset.Images.onboardingAppLogo)
.renderingMode(.original)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
)
AnyView(SplashScreen())
}
}
/// The app's splash screen. This screen is shown after the LaunchScreen
/// until the app is ready to show the relevant coordinator. The design of
/// these 2 screens are matched.
struct SplashScreen: View {
var body: some View {
Image(asset: Asset.Images.launchLogo)
.accessibilityHidden(true)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background { OnboardingBackgroundImage() }
}
}
struct SplashScreen_Previews: PreviewProvider {
static var previews: some View {
SplashScreen()
}
}