AccountManager: add ability to make a selection

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-05-22 16:40:52 -04:00
committed by William Casarin
parent bdf6156fff
commit 2ca47edf4d
3 changed files with 18 additions and 2 deletions

View File

@@ -317,7 +317,7 @@ mod preview {
impl AccountManagementPreview {
fn new() -> Self {
let mut account_manager =
AccountManager::new(KeyStorage::None, RelayGenerator::Constant, || {});
AccountManager::new(None, KeyStorage::None, RelayGenerator::Constant, || {});
let accounts = test_data::get_test_accounts();
accounts
.into_iter()
@@ -360,7 +360,7 @@ mod preview {
impl AccountSelectionPreview {
fn new() -> Self {
let mut account_manager =
AccountManager::new(KeyStorage::None, RelayGenerator::Constant, || {});
AccountManager::new(None, KeyStorage::None, RelayGenerator::Constant, || {});
let accounts = test_data::get_test_accounts();
accounts
.into_iter()