mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-15 00:46:21 +00:00
not use toolbar
This commit is contained in:
@@ -13,7 +13,7 @@ struct OnboardingView: View {
|
||||
|
||||
var body: some View {
|
||||
switch onboarding {
|
||||
case .step1_SimpleXInfo: NavigationView { SimpleXInfo(onboarding: true) }
|
||||
case .step1_SimpleXInfo: SimpleXInfo(onboarding: true)
|
||||
case .step2_CreateProfile: CreateFirstProfile()
|
||||
case .step3_CreateSimpleXAddress: CreateSimpleXAddress()
|
||||
case .step4_SetNotificationsMode: SetNotificationsMode()
|
||||
|
||||
@@ -17,6 +17,13 @@ struct SimpleXInfo: View {
|
||||
var body: some View {
|
||||
GeometryReader { g in
|
||||
ScrollView {
|
||||
HStack {
|
||||
Spacer()
|
||||
InfoSheetButton {
|
||||
HowItWorks(onboarding: onboarding)
|
||||
}
|
||||
}
|
||||
.padding(.bottom, 8)
|
||||
VStack(alignment: .leading) {
|
||||
Image(colorScheme == .light ? "logo" : "logo-light")
|
||||
.resizable()
|
||||
@@ -57,13 +64,6 @@ struct SimpleXInfo: View {
|
||||
}
|
||||
.frame(minHeight: g.size.height)
|
||||
}
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .topBarTrailing) {
|
||||
InfoSheetButton {
|
||||
HowItWorks(onboarding: onboarding)
|
||||
}
|
||||
}
|
||||
}
|
||||
.sheet(isPresented: Binding(
|
||||
get: { m.migrationState != nil },
|
||||
set: { _ in
|
||||
|
||||
Reference in New Issue
Block a user