gui: implement State::datadir_path()

This commit is contained in:
pythcoiner 2025-06-02 10:44:12 +02:00
parent 1a0725b5e9
commit bf666539bf
2 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

@ -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>,
}