From 276a93c497f077ac66328816a873afef82d41d1e Mon Sep 17 00:00:00 2001 From: mp-bw <59324545+mp-bw@users.noreply.github.com> Date: Thu, 23 Mar 2023 11:35:08 -0400 Subject: [PATCH] Fix migration crash (#2430) --- src/Core/Services/StateMigrationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Services/StateMigrationService.cs b/src/Core/Services/StateMigrationService.cs index 29f0a2ea1..b7cb938ed 100644 --- a/src/Core/Services/StateMigrationService.cs +++ b/src/Core/Services/StateMigrationService.cs @@ -394,10 +394,10 @@ namespace Bit.Core.Services // use values from first userId to apply globals if (firstUserId != null) { - var theme = await GetValueAsync(Storage.LiteDb, V3Keys.ThemeKey(firstUserId)); + var theme = await GetValueAsync(Storage.LiteDb, V3Keys.ThemeKey(firstUserId)); await SetValueAsync(Storage.LiteDb, V4Keys.ThemeKey, theme); - var autoDarkTheme = await GetValueAsync(Storage.LiteDb, V3Keys.AutoDarkThemeKey(firstUserId)); + var autoDarkTheme = await GetValueAsync(Storage.LiteDb, V3Keys.AutoDarkThemeKey(firstUserId)); await SetValueAsync(Storage.LiteDb, V4Keys.AutoDarkThemeKey, autoDarkTheme); var disableFavicon = await GetValueAsync(Storage.LiteDb, V3Keys.DisableFaviconKey(firstUserId));