Example #1
0
        public void IsLightThemeFalse1()
        {
            var target = AppTheme.GenerateNew("hoge");
            var actual = target.IsLightTheme;

            Assert.False(actual);
        }
Example #2
0
        public AppTheme GetCurrentTheme()
        {
            var currentThemeName = PreferencesService?.GetPreferences()?.ThemeName;

            return(AppTheme.GenerateNew(currentThemeName ?? AppTheme.GenerateDefault().ThemeName));
        }