mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
IOS open from file workaround
This commit is contained in:
parent
394b20ee36
commit
a72a76d3e6
1 changed files with 8 additions and 0 deletions
8
main.qml
8
main.qml
|
@ -1017,9 +1017,17 @@ ApplicationWindow {
|
|||
title: "Please choose a file"
|
||||
folder: "file://" +moneroAccountsDir
|
||||
nameFilters: [ "Wallet files (*.keys)"]
|
||||
sidebarVisible: false
|
||||
|
||||
|
||||
onAccepted: {
|
||||
persistentSettings.wallet_path = walletManager.urlToLocalPath(fileDialog.fileUrl)
|
||||
if(isIOS)
|
||||
persistentSettings.wallet_path = persistentSettings.wallet_path.replace(moneroAccountsDir,"")
|
||||
console.log("ÖPPPPNA")
|
||||
console.log(moneroAccountsDir)
|
||||
console.log(fileDialog.fileUrl)
|
||||
console.log(persistentSettings.wallet_path)
|
||||
initialize();
|
||||
}
|
||||
onRejected: {
|
||||
|
|
Loading…
Reference in a new issue