mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 02:18:17 +00:00
Import export settings
This commit is contained in:
@@ -14,6 +14,11 @@ struct OpenURLHandler {
|
||||
var navigationStyle: NavigationStyle
|
||||
|
||||
func handle(_ url: URL) {
|
||||
if url.isFileURL, url.standardizedFileURL.absoluteString.hasSuffix(".\(ImportExportSettingsModel.settingsExtension)") {
|
||||
navigation.presentSettingsImportSheet(url)
|
||||
return
|
||||
}
|
||||
|
||||
if Self.firstHandle {
|
||||
Self.firstHandle = false
|
||||
|
||||
|
Reference in New Issue
Block a user