mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 10:43:05 +00:00
mac no alert
This commit is contained in:
1 parent
a2048b6ade
commit
bfea71342d
1 file changed
+1
-1
+1
-1
@@ -84,7 +84,7 @@ actual class FileChooserLauncher actual constructor() {
|
||||
}
|
||||
if (res == null) {
|
||||
onResult(null)
|
||||
} else if (!res.exists()) {
|
||||
} else if (desktopPlatform.isMac() || !res.exists()) { // mac has an alert confirmation if the file exists
|
||||
onResult(res.toURI())
|
||||
} else {
|
||||
showSaveRenameFileAlert(res, onResult)
|
||||
|
||||
Reference in new issue
Block a user