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

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

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