File tree Expand file tree Collapse file tree
TableProMobile/TableProMobile/Views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,13 +228,6 @@ struct ConnectionFormView: View {
228228 . disabled ( !canSave)
229229 }
230230 }
231- . fileImporter (
232- isPresented: $showFilePicker,
233- allowedContentTypes: sqliteContentTypes,
234- allowsMultipleSelection: false
235- ) { result in
236- handleFilePickerResult ( result)
237- }
238231 . fileImporter (
239232 isPresented: $showSSHKeyPicker,
240233 allowedContentTypes: [ . data] ,
@@ -311,6 +304,13 @@ struct ConnectionFormView: View {
311304 Label ( " Create New Database " , systemImage: " plus.circle " )
312305 }
313306 }
307+ . fileImporter (
308+ isPresented: $showFilePicker,
309+ allowedContentTypes: sqliteContentTypes,
310+ allowsMultipleSelection: false
311+ ) { result in
312+ handleFilePickerResult ( result)
313+ }
314314 }
315315
316316 // MARK: - Server Section (MySQL, PostgreSQL, Redis)
You can’t perform that action at this time.
0 commit comments