mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Convert Legacy Data Import to macOS-native helpers
This commit is contained in:
@@ -73,15 +73,13 @@ struct LegacyDataImportView: View {
|
|||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private var importContent: some View {
|
private var importContent: some View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
List {
|
SettingsFormContainer {
|
||||||
Section {
|
SettingsFormSection("migration.selectToImport") {
|
||||||
ForEach(items) { item in
|
ForEach(items) { item in
|
||||||
MigrationImportRow(item: item) {
|
MigrationImportRow(item: item) {
|
||||||
toggleItem(item)
|
toggleItem(item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} header: {
|
|
||||||
Text(String(localized: "migration.selectToImport"))
|
|
||||||
} footer: {
|
} footer: {
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
Text(String(localized: "migration.accountsHint"))
|
Text(String(localized: "migration.accountsHint"))
|
||||||
|
|||||||
Reference in New Issue
Block a user