Skip to content

Commit

Permalink
v2.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
putuadityabayu committed Oct 17, 2021
1 parent 3fc641d commit bb9caa2
Show file tree
Hide file tree
Showing 23 changed files with 2,904 additions and 2,775 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.13.0",
"version": "2.13.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"backgroundColor": "#ffffff",
Expand Down
22 changes: 11 additions & 11 deletions components/global/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,17 @@ const ParserComponent=({source,selectable=false,iklan=true,scrollRef,yLayout=0,o
const theme = useTheme()
if(source.length === 0 ) return null;

const renderersProps=React.useMemo(()=>({
theme,
iklan,
//selectedTheme,
scrollRef,
yLayout,
onReceiveId,
padding,
editor
}),[theme,iklan,onReceiveId,padding,editor,yLayout,scrollRef])

const renderers=React.useMemo(()=>({
table:{renderer:TableRender,wrapper:"Text"},
p:{renderer:TextRender,wrapper:'View'},
Expand All @@ -377,17 +388,6 @@ const ParserComponent=({source,selectable=false,iklan=true,scrollRef,yLayout=0,o
figure:{renderer:FigureRender,wrapper:"View"},
del:{renderer:DelRender,wrapper:"Text"},
del:{renderer:DelRender,wrapper:"View"},
}),[])

const renderersProps=React.useMemo(()=>({
theme,
iklan,
//selectedTheme,
scrollRef,
yLayout,
onReceiveId,
padding,
editor
}),[theme,iklan,onReceiveId,padding,editor,yLayout,scrollRef])

/*const alterData=(node)=>{
Expand Down
23 changes: 14 additions & 9 deletions components/musicPlayer/MusicPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,28 @@ function MusicPlayer() {
if(track) modalRef.current?.open("default");
else modalRef.current?.close("default");
})

},[track])

const onPositionChange=React.useCallback((position)=>{
InteractionManager.runAfterInteractions(()=>{
setHandle(position==='top')
if(position!=='top') {
setStatusBarBackgroundColor(theme['background-basic-color-1'],true)
queueRef.current?.close("alwaysOpen")
if(track) {
setHandle(position==='top')
if(position!=='top') {
setStatusBarBackgroundColor(theme['background-basic-color-1'],true)
queueRef.current?.close("alwaysOpen")
} else {
setStatusBarBackgroundColor(theme['background-basic-color-2'],true)
}
} else {
setStatusBarBackgroundColor(theme['background-basic-color-2'],true)
modalRef.current?.close("default");
}
})
},[])
},[track])
const onQPositionChange=React.useCallback((position)=>{
InteractionManager.runAfterInteractions(()=>setQHandle(position==='top'))
},[])
InteractionManager.runAfterInteractions(()=>{
if(track) setQHandle(position==='top')
})
},[track])

React.useEffect(()=>{
function handleURL({url}: EventType){
Expand Down
2 changes: 1 addition & 1 deletion dist/android-index.json

Large diffs are not rendered by default.

Binary file added dist/assets/094b6db6915c9f3e51be0839296345a1
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@
"sure":"Are you sure?",
"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"
"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",
"ext_permission":"Please select directory to save files",
"not_set":"Not set"
},
"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 Expand Up @@ -231,7 +233,9 @@
},
"security":{
"logout":"You must \"LOGOUT\" to remove this device session",
"auth_help":"Instead of using a password, you can use your fingerprint to authenticate your account"
"auth_help":"Instead of using a password, you can use your fingerprint to authenticate your account",
"lock_with":"Lock with %{type}",
"lock_help":"Lock your phone with fingerprint after exiting app or 1 minutes after app is backgrounded"
},
"notification":{
"title_feature":"Features & Promotion",
Expand All @@ -243,7 +247,8 @@
"email_birthday":"Receive email notifications for the birthdays of someone you are following",
"email_komentar":"Receive email notifications for comments, including someone commenting on your content or someone replying to your comment",
"email_feature":"Receive email notifications about the new features and promotion on Portalnesia"
}
},
"storage_location":"Storage location"
},
"auth":{
"new_password":"Password Again",
Expand Down
84 changes: 84 additions & 0 deletions dist/assets/88f3eaac37f20cdfd6bbdbdd62d213b7
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"name": "axios",
"version": "0.21.4",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"scripts": {
"test": "grunt test",
"start": "node ./sandbox/server.js",
"build": "NODE_ENV=production grunt build",
"preversion": "npm test",
"version": "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",
"postversion": "git push && git push --tags",
"examples": "node ./examples/server.js",
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"fix": "eslint --fix lib/**/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/axios/axios.git"
},
"keywords": [
"xhr",
"http",
"ajax",
"promise",
"node"
],
"author": "Matt Zabriskie",
"license": "MIT",
"bugs": {
"url": "https://github.com/axios/axios/issues"
},
"homepage": "https://axios-http.com",
"devDependencies": {
"coveralls": "^3.0.0",
"es6-promise": "^4.2.4",
"grunt": "^1.3.0",
"grunt-banner": "^0.6.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-eslint": "^23.0.0",
"grunt-karma": "^4.0.0",
"grunt-mocha-test": "^0.13.3",
"grunt-ts": "^6.0.0-beta.19",
"grunt-webpack": "^4.0.2",
"istanbul-instrumenter-loader": "^1.0.0",
"jasmine-core": "^2.4.1",
"karma": "^6.3.2",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^1.1.1",
"karma-jasmine-ajax": "^0.1.13",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^4.3.6",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^4.0.2",
"load-grunt-tasks": "^3.5.2",
"minimist": "^1.2.0",
"mocha": "^8.2.1",
"sinon": "^4.5.0",
"terser-webpack-plugin": "^4.2.3",
"typescript": "^4.0.5",
"url-search-params": "^0.10.0",
"webpack": "^4.44.2",
"webpack-dev-server": "^3.11.0"
},
"browser": {
"./lib/adapters/http.js": "./lib/adapters/xhr.js"
},
"jsdelivr": "dist/axios.min.js",
"unpkg": "dist/axios.min.js",
"typings": "./index.d.ts",
"dependencies": {
"follow-redirects": "^1.14.0"
},
"bundlesize": [
{
"path": "./dist/axios.min.js",
"threshold": "5kB"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
"licenseUrl": "https://github.com/native-html/plugins",
"parents": "portal-native"
},
"@portalnesia/react-native-core@1.2.0": {
"licenses": "MIT",
"repository": "https://github.com/portalnesia/portalnesia",
"licenseUrl": "https://github.com/portalnesia/portalnesia",
"parents": "portal-native"
},
"@portalnesia/utils@1.0.3": {
"licenses": "MIT",
"repository": "https://github.com/portalnesia/portalnesia",
"licenseUrl": "https://github.com/portalnesia/portalnesia",
"parents": "portal-native"
},
"@react-native-async-storage/async-storage@1.15.5": {
"licenses": "MIT",
"repository": "https://github.com/react-native-async-storage/async-storage",
Expand Down Expand Up @@ -161,7 +173,7 @@
"licenseUrl": "https://github.com/sindresorhus/array-move/raw/master/license",
"parents": "portal-native"
},
"axios@0.21.1": {
"axios@0.21.4": {
"licenses": "MIT",
"repository": "https://github.com/axios/axios",
"licenseUrl": "https://github.com/axios/axios/raw/master/LICENSE",
Expand Down Expand Up @@ -197,7 +209,7 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-asset@8.3.2": {
"expo-asset@8.3.3": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
Expand All @@ -215,12 +227,6 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-background-fetch@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-cellular@3.2.0": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
Expand Down Expand Up @@ -305,7 +311,7 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-notifications@0.12.2": {
"expo-notifications@0.12.3": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
Expand Down Expand Up @@ -341,13 +347,7 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-task-manager@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-updates@0.8.0": {
"expo-updates@0.8.5": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
Expand All @@ -364,7 +364,7 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo@42.0.0": {
"expo@42.0.5": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
Expand Down Expand Up @@ -472,6 +472,12 @@
"licenseUrl": "https://github.com/EkoLabs/react-native-background-downloader/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-background-timer@2.4.1": {
"licenses": "MIT",
"repository": "https://github.com/ocetnik/react-native-background-timer",
"licenseUrl": "https://github.com/ocetnik/react-native-background-timer/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-biometrics@2.1.4": {
"licenses": "MIT",
"repository": "https://github.com/SelfLender/react-native-biometrics",
Expand Down Expand Up @@ -602,7 +608,7 @@
"licenseUrl": "https://github.com/react-native-kit/react-native-track-player/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-unimodules@0.14.3": {
"react-native-unimodules@0.14.10": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo/raw/master/LICENSE.md",
Expand Down Expand Up @@ -638,6 +644,12 @@
"licenseUrl": "https://github.com/facebook/react-native/raw/master/LICENSE",
"parents": "portal-native"
},
"react-navigation-collapsible@5.10.2": {
"licenses": "MIT",
"repository": "https://github.com/benevbright/react-navigation-collapsible",
"licenseUrl": "https://github.com/benevbright/react-navigation-collapsible/raw/master/LICENSE",
"parents": "portal-native"
},
"react-redux@7.2.4": {
"licenses": "MIT",
"repository": "github:reduxjs/react-redux",
Expand Down Expand Up @@ -680,7 +692,7 @@
"licenseUrl": "https://github.com/vercel/swr/raw/master/LICENSE",
"parents": "portal-native"
},
"url-parse@1.5.1": {
"url-parse@1.5.3": {
"licenses": "MIT",
"repository": "https://github.com/unshiftio/url-parse",
"licenseUrl": "https://github.com/unshiftio/url-parse/raw/master/LICENSE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@
"sure":"Apakah Anda yakin?",
"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"
"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",
"ext_permission":"Pilih penyimpanan untuk menyimpan files",
"not_set":"Belum disetel"
},
"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 Expand Up @@ -227,7 +229,9 @@
},
"security":{
"logout":"Anda harus \"LOGOUT\" untuk menghapus perangkat ini",
"auth_help":"Alih-alih menggunakan kata sandi, Anda dapat menggunakan sidik jari untuk mengontentikasi akun Anda"
"auth_help":"Alih-alih menggunakan kata sandi, Anda dapat menggunakan sidik jari untuk mengontentikasi akun Anda",
"lock_with":"Kunci dengan %{type}",
"lock_help":"Kunci perangkat Anda menggunakan sidik jari setelah keluar dari aplikasi atau 1 menit setelah aplikasi berjalan di latar belakang"
},
"notification":{
"title_feature":"Fitur & Promosi",
Expand All @@ -239,7 +243,8 @@
"email_birthday":"Terima pemberitahuan email ulang tahun seseorang yang Anda ikuti",
"email_komentar":"Terima pemberitahuan email komentar, termasuk jika seseorang mengomentari konten Anda atau jika seseorang membalas komentar Anda",
"email_feature":"Terima pemberitahuan email tentang fitur baru dan promosi dari Portalnesia"
}
},
"storage_location":"Lokasi penyimpanan"
},
"auth":{
"new_password":"Kata Sandi Lagi",
Expand Down
Binary file not shown.
Loading

0 comments on commit bb9caa2

Please sign in to comment.