mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 14:56:15 +00:00
added onappear reset to importVie
This commit is contained in:
@@ -48,6 +48,12 @@ struct ImportView: View {
|
|||||||
Label("Import", systemImage: "tray.and.arrow.down.fill")
|
Label("Import", systemImage: "tray.and.arrow.down.fill")
|
||||||
}
|
}
|
||||||
.disabled(importStr.isEmpty)
|
.disabled(importStr.isEmpty)
|
||||||
|
.onAppear() {
|
||||||
|
importStr = ""
|
||||||
|
image = "clock.fill"
|
||||||
|
text = "Ready..."
|
||||||
|
fgColor = .yellow
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user