gui: implement State::datadir_path()
This commit is contained in:
parent
1a0725b5e9
commit
bf666539bf
@ -435,6 +435,10 @@ impl App {
|
||||
content
|
||||
}
|
||||
}
|
||||
|
||||
pub fn datadir_path(&self) -> &LianaDirectory {
|
||||
&self.cache.datadir_path
|
||||
}
|
||||
}
|
||||
|
||||
fn new_recovery_panel(wallet: Arc<Wallet>, cache: &Cache) -> CreateSpendPanel {
|
||||
|
||||
@ -43,7 +43,7 @@ pub enum State {
|
||||
pub struct Launcher {
|
||||
state: State,
|
||||
network: Network,
|
||||
datadir_path: LianaDirectory,
|
||||
pub datadir_path: LianaDirectory,
|
||||
error: Option<String>,
|
||||
delete_wallet_modal: Option<DeleteWalletModal>,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user