mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +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) {
|
||||
const isDarkMode = false; //useDarkMode();
|
||||
dispatch(isDarkTheme(settings.isDarkTheme === null ? isDarkMode : settings.isDarkTheme));
|
||||
dispatch(isDarkTheme(settings.isDarkTheme !== null ? settings.isDarkTheme : isDarkMode));
|
||||
this.setState({
|
||||
isThemeReady: true,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user