Refactor Backend and config file operations

This commit is contained in:
miruka
2019-07-18 20:30:41 -04:00
parent 31184071db
commit d597e1dda8
9 changed files with 124 additions and 87 deletions

View File

@@ -23,11 +23,11 @@ Item {
buttonCallbacks: ({
yes: button => {
py.callCoro("save_account", [userId])
py.callCoro("saved_accounts.add", [userId])
pageStack.showPage("Default")
},
no: button => {
py.callCoro("forget_account", [userId])
py.callCoro("saved_accounts.delete", [userId])
pageStack.showPage("Default")
},
})