diff --git a/src/Maui/Bitwarden/Pages/Settings/OptionsPageViewModel.cs b/src/Maui/Bitwarden/Pages/Settings/OptionsPageViewModel.cs index e393e420d..224cb6648 100644 --- a/src/Maui/Bitwarden/Pages/Settings/OptionsPageViewModel.cs +++ b/src/Maui/Bitwarden/Pages/Settings/OptionsPageViewModel.cs @@ -124,7 +124,7 @@ namespace Bit.App.Pages } } - public bool ShowAutoDarkThemeOptions => ThemeOptions[ThemeSelectedIndex].Key == null; + public bool ShowAutoDarkThemeOptions => ThemeSelectedIndex >= 0 ? ThemeOptions[ThemeSelectedIndex].Key == null : false; public int AutoDarkThemeSelectedIndex {