Commit ffc33805 authored by dev0tion's avatar dev0tion

Add wallet path and name to global service

parent f34e4484
...@@ -5,12 +5,21 @@ export class GlobalService { ...@@ -5,12 +5,21 @@ export class GlobalService {
constructor() {} constructor() {}
private walletPath: string; private walletPath: string;
private currentWalletName: string;
getWalletPath(walletPath: string) { getWalletPath() {
return this.walletPath = walletPath; return this.walletPath;
} }
setWalletPath(walletPath: string) { setWalletPath(walletPath: string) {
this.walletPath = walletPath; this.walletPath = walletPath;
} }
getCurrentWalletName() {
return this.currentWalletName;
}
setCurrentWalletName(currentWalletName: string) {
this.currentWalletName = currentWalletName;
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment