mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-07 06:32:02 +03:00
dark mode logic fix
This commit is contained in:
parent
698c7c5b07
commit
cf44f240b1
@ -722,7 +722,7 @@ class ApplicationContainer extends Component {
|
|||||||
|
|
||||||
if (settings) {
|
if (settings) {
|
||||||
const isDarkMode = false; //useDarkMode();
|
const isDarkMode = false; //useDarkMode();
|
||||||
dispatch(isDarkTheme(settings.isDarkTheme === null ? isDarkMode : settings.isDarkTheme));
|
dispatch(isDarkTheme(settings.isDarkTheme !== null ? settings.isDarkTheme : isDarkMode));
|
||||||
this.setState({
|
this.setState({
|
||||||
isThemeReady: true,
|
isThemeReady: true,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user