Skip to content

Commit

Permalink
remove local override
Browse files Browse the repository at this point in the history
  • Loading branch information
SagivOnoApps committed Jun 29, 2020
1 parent 047b6d4 commit 3fb2c6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/LocaleActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/components/Main/BatteryModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ const BatteryModal: FunctionComponent<Props> = ({ 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 (
Expand Down

0 comments on commit 3fb2c6b

Please sign in to comment.