mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Refactor views
This commit is contained in:
@@ -10,10 +10,10 @@ import SwiftUI
|
||||
struct OnboardingMigrationScreen: View {
|
||||
@Environment(\.appEnvironment) private var appEnvironment
|
||||
|
||||
@Binding var items: [LegacyImportItem]
|
||||
let onContinue: () -> Void
|
||||
let onSkip: () -> Void
|
||||
|
||||
@Binding var items: [LegacyImportItem]
|
||||
@State private var isImporting = false
|
||||
@State private var importProgress: Double = 0.0
|
||||
@State private var showingResultSheet = false
|
||||
@@ -352,9 +352,9 @@ struct OnboardingMigrationScreen: View {
|
||||
]
|
||||
|
||||
OnboardingMigrationScreen(
|
||||
items: $items,
|
||||
onContinue: {},
|
||||
onSkip: {}
|
||||
onSkip: {},
|
||||
items: $items
|
||||
)
|
||||
.appEnvironment(.preview)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user