mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 00:33:20 +00:00
fixed migration and account removal issues (#1818)
This commit is contained in:
@@ -1377,6 +1377,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
await CheckStateAsync();
|
||||
var currentTheme = await GetThemeAsync();
|
||||
var currentDisableFavicons = await GetDisableFaviconAsync();
|
||||
|
||||
account.Settings.EnvironmentUrls = await GetPreAuthEnvironmentUrlsAsync();
|
||||
|
||||
@@ -1405,6 +1406,7 @@ namespace Bit.Core.Services
|
||||
account.Settings.VaultTimeoutAction = VaultTimeoutAction.Lock;
|
||||
}
|
||||
await SetThemeAsync(currentTheme, account.Profile.UserId);
|
||||
await SetDisableFaviconAsync(currentDisableFavicons, account.Profile.UserId);
|
||||
|
||||
state.Accounts[account.Profile.UserId] = account;
|
||||
await SaveStateToStorageAsync(state);
|
||||
|
||||
Reference in New Issue
Block a user