From df363661b4eb01bc3c429eb1f8ffd24e0020c224 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Mon, 18 Mar 2019 18:52:41 +0300 Subject: [PATCH] Fixed default footer error --- src/screens/application/container/applicationContainer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screens/application/container/applicationContainer.js b/src/screens/application/container/applicationContainer.js index 2f951b51c..85251be43 100644 --- a/src/screens/application/container/applicationContainer.js +++ b/src/screens/application/container/applicationContainer.js @@ -67,6 +67,7 @@ import { setLanguage, setUpvotePercent, setNsfw, + isDefaultFooter, } from '../../../redux/actions/applicationActions'; // Container @@ -248,7 +249,7 @@ class ApplicationContainer extends Component { if (response.language !== '') dispatch(setLanguage(response.language)); if (response.server !== '') dispatch(setApi(response.server)); 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 !== '') { dispatch(isNotificationOpen(response.notification)); Push.setEnabled(response.notification);