Skip to content

Commit

Permalink
v2.9.1 (#41)
Browse files Browse the repository at this point in the history
* Fix auto complete
* Fix deeplink updates
* v2.9.1
  • Loading branch information
putuadityabayu committed Jul 26, 2021
1 parent 494941d commit 6d38bcd
Show file tree
Hide file tree
Showing 11 changed files with 202 additions and 189 deletions.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Portalnesia",
"slug": "portalnesia",
"scheme": "pn",
"version": "2.9.0",
"version": "2.9.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"backgroundColor": "#ffffff",
Expand Down
2 changes: 1 addition & 1 deletion dist/android-index.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"one":"fitur",
"other":"fitur"
},
"warning":"Peringatan",
"reply":"Balas",
"delete":"Hapus",
"remove":"Hapus",
Expand Down Expand Up @@ -124,7 +125,9 @@
"youtube_service":"Anda harus menginstal aplikasi youtube resmi untuk dapat menonton video.\n\nKlik di sini untuk menonton dalam mode layar penuh.",
"invalid":"%{type} tidak valid",
"sure":"Apakah Anda yakin?",
"location_disabled":"Layanan lokasi Anda tidak aktif"
"location_disabled":"Layanan lokasi Anda tidak aktif",
"google_play_available":"Harap perbarui Google Play Services Anda untuk menggunakan aplikasi ini.",
"verify_failed":"Kami gagal memverifikasi aplikasi yang sedang Anda gunakan. Pastikan Anda menggunakan aplikasi resmi Portalnesia.\n\nJika Anda merasa kami melakukan kesalahan, silahkan hubungi kami di support@portalnesia.com"
},
"report_placeholder":{
"placeholder_url":"Mohon maaf atas ketidaknyamanannya, sepertinya ada masalah dengan layanan server internal kami. Bisakah Anda memberi tahu kami bagaimana ini bisa terjadi?",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"one":"feature",
"other":"features"
},
"warning":"Warning",
"reply":"Reply",
"delete":"Delete",
"remove":"Remove",
Expand Down Expand Up @@ -129,7 +130,9 @@
"youtube_service":"You have to install the official youtube apps to be able to watch videos.\n\nClick here to watch in fullscreen mode.",
"invalid":"Invalid %{type}",
"sure":"Are you sure?",
"location_disabled":"Your location services is not active"
"location_disabled":"Your location services is not active",
"google_play_available":"Please update your Google Play Services to continue using this application.",
"verify_failed":"We failed to verify the application you are using. Make sure you use the official Portalnesia application.\n\nIf you feel we made a mistake, please contact us at support@portalnesia.com"
},
"report_placeholder":{
"placeholder_url":"We are sorry for the inconvenience, it seems that there is a problem with our internal server service. Can you tell us how this happened?",
Expand Down
Binary file not shown.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ios-index.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
},
"private": true,
"name": "portal-native",
"version": "2.9.0",
"version": "2.9.1",
"author": "Putu Aditya <aditya@portalnesia.com>",
"license": "MIT"
}
14 changes: 12 additions & 2 deletions screens/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const ForwardIcon=(props)=><Icon {...props} name="arrow-ios-forward" />
const SettingIcon=(props)=><Icon {...props} name="settings-outline" />
const supportedAbi = ['arm64-v8a','armeabi-v7a','x86','x86_64']

export default function({navigation}){
export default function({navigation,route}){
const linkAction = route?.params?.action;
const auth = React.useContext(AuthContext)
const user = useSelector(state=>state.user);
const {setNotif,sendReport} = auth;
Expand Down Expand Up @@ -129,9 +130,18 @@ export default function({navigation}){
}
}
})
.finally(()=>setLoading(false))
.finally(()=>{
setLoading(false)
navigation?.navigate("Menu",{action:undefined});
})
},[PNget])

React.useEffect(()=>{
if(linkAction === 'check_updates') {
checkUpdates();
}
},[linkAction,checkUpdates,navigation])

return (
<>
<Layout navigation={navigation} >
Expand Down
4 changes: 0 additions & 4 deletions screens/Setting/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ export default function AccountSettingScreen({navigation,route}){
label={i18n.t('form.username')}
value={input.username}
onChangeText={handleChange('username')}
autoCompleteType="username"
textContentType="username"
disabled={loading!==null}
/>
Expand All @@ -251,7 +250,6 @@ export default function AccountSettingScreen({navigation,route}){
label={i18n.t('form.email')}
value={input.email}
onChangeText={handleChange('email')}
autoCompleteType="email"
textContentType="emailAddress"
disabled={loading!==null}
/>
Expand Down Expand Up @@ -287,7 +285,6 @@ export default function AccountSettingScreen({navigation,route}){
label="Instagram"
value={input.instagram}
onChangeText={handleChange('instagram')}
autoCompleteType="username"
textContentType="username"
disabled={loading!==null}
caption="Without @"
Expand All @@ -298,7 +295,6 @@ export default function AccountSettingScreen({navigation,route}){
label="Line"
value={input.line}
onChangeText={handleChange('line')}
autoCompleteType="username"
textContentType="username"
disabled={loading!==null}
caption="Without @"
Expand Down

0 comments on commit 6d38bcd

Please sign in to comment.