mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 03:25:24 +03:00
Merge pull request #701 from esteemapp/bugfix/default-footer
Fixed default footer error
This commit is contained in:
commit
e514106273
@ -67,6 +67,7 @@ import {
|
|||||||
setLanguage,
|
setLanguage,
|
||||||
setUpvotePercent,
|
setUpvotePercent,
|
||||||
setNsfw,
|
setNsfw,
|
||||||
|
isDefaultFooter,
|
||||||
} from '../../../redux/actions/applicationActions';
|
} from '../../../redux/actions/applicationActions';
|
||||||
|
|
||||||
// Container
|
// Container
|
||||||
@ -248,7 +249,7 @@ class ApplicationContainer extends Component {
|
|||||||
if (response.language !== '') dispatch(setLanguage(response.language));
|
if (response.language !== '') dispatch(setLanguage(response.language));
|
||||||
if (response.server !== '') dispatch(setApi(response.server));
|
if (response.server !== '') dispatch(setApi(response.server));
|
||||||
if (response.upvotePercent !== '') dispatch(setUpvotePercent(Number(response.upvotePercent)));
|
if (response.upvotePercent !== '') dispatch(setUpvotePercent(Number(response.upvotePercent)));
|
||||||
if (response.isDefaultFooter !== '') dispatch(setDefaultFooter(response.isDefaultFooter));
|
if (response.isDefaultFooter !== '') dispatch(isDefaultFooter(response.isDefaultFooter));
|
||||||
if (response.notification !== '') {
|
if (response.notification !== '') {
|
||||||
dispatch(isNotificationOpen(response.notification));
|
dispatch(isNotificationOpen(response.notification));
|
||||||
Push.setEnabled(response.notification);
|
Push.setEnabled(response.notification);
|
||||||
|
Loading…
Reference in New Issue
Block a user