diff --git a/src/actions/LocaleActions.ts b/src/actions/LocaleActions.ts index fe2c8ad1..2e438333 100644 --- a/src/actions/LocaleActions.ts +++ b/src/actions/LocaleActions.ts @@ -15,7 +15,7 @@ export const initLocale = () => async (dispatch: any) => { await AsyncStorage.setItem(CURRENT_LOCALE, activeLocale); - const data: LocaleData = await downloadAndVerifySigning(config().stringsUrl + 123); + const data: LocaleData = await downloadAndVerifySigning(config().stringsUrl); const { languages, notificationData, externalUrls } = data; diff --git a/src/components/Main/BatteryModal.tsx b/src/components/Main/BatteryModal.tsx index 46e20a2e..e7c758b4 100644 --- a/src/components/Main/BatteryModal.tsx +++ b/src/components/Main/BatteryModal.tsx @@ -21,13 +21,13 @@ const BatteryModal: FunctionComponent = ({ navigation }) => { return () => { BackHandler.removeEventListener('hardwareBackPress', handleExit); }; - }) + }); const handleExit = async () => { dispatch({ type: USER_DISABLED_BATTERY, payload: false }); AsyncStorage.setItem(USER_AGREED_TO_BATTERY, 'false'); navigation.goBack(); - return true + return true; }; return (