reintroduce account management

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-06-23 19:46:58 -04:00
parent ac0821db79
commit 6afb618089
9 changed files with 181 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ mod preview {
use crate::{
test_data,
ui::{AccountSelectionWidget, Preview, PreviewConfig},
ui::{AccountSelectionWidget, DesktopGlobalPopup, Preview, PreviewConfig},
};
use super::*;
@@ -157,9 +157,8 @@ mod preview {
});
});
if self.app.show_account_switcher {
AccountSelectionWidget::ui(&mut self.app, ui);
}
AccountSelectionWidget::ui(&mut self.app, ui);
DesktopGlobalPopup::show(self.app.global_nav.clone(), &mut self.app, ui);
}
}