Add isDefaultTheme() to ThemePersistance

This commit is contained in:
Peter Feerick
2021-11-29 12:01:47 +10:00
committed by Peter Feerick
parent 9401e00253
commit 765750b34b
+1
View File
@@ -176,6 +176,7 @@ class ThemePersistance
inline int getThemeIndex() {return currentTheme;}
inline void setThemeIndex(int index) { currentTheme = index;}
inline bool isDefaultTheme() { if (currentTheme == 0) return true; else return false; }
inline ThemeFile* getCurrentTheme()
{