Skip to content

Commit

Permalink
chore: bump MoonMeet version to "1.0.2".
Browse files Browse the repository at this point in the history
  • Loading branch information
SectionTN committed Dec 25, 2022
1 parent 95e2b5d commit 566de41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ android {
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
versionCode 3
versionName "1.0.1"
versionName "1.0.2"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

if (isNewArchitectureEnabled()) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moonmeet",
"version": "1.0.1",
"version": "1.0.2",
"private": "false",
"author": {"name": "Rayen Sbai", "email": "[email protected]"},
"description": "We give people the closest distances.",
Expand Down
13 changes: 3 additions & 10 deletions src/screens/LoginScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ const LoginScreen = () => {
}
});
return () => netEventListener;
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const navigation = useNavigation();
Expand Down Expand Up @@ -258,19 +257,13 @@ const LoginScreen = () => {
const getCountryCodeFromApi = () => {
const ApiURL = 'https://ipapi.co/country_calling_code';
axios
.get(ApiURL, {method: 'get'})
.get(ApiURL)
.then(element => {
if (element?.data?.includes('error')) {
CountrySetText('+1');
} else {
CountrySetText(element?.data);
}
CountrySetText(element?.data);
})
.catch(e => {
if (__DEV__) {
console.error(e);
}
if (CountryText?.trim()?.length < 0) {
CountrySetText('+1');
}
});
Expand Down Expand Up @@ -554,7 +547,7 @@ const LoginScreen = () => {
}}>
<TextInput
style={{
width: '36%',
width: '37.5%',
}}
mode="flat"
keyboardType={isAndroid ? 'numeric' : 'number-pad'}
Expand Down

0 comments on commit 566de41

Please sign in to comment.