mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-28 22:08:47 +02:00
Update app bar progress indicator to not navigate to downloading on iOS
This commit is contained in:
parent
a7227acbc3
commit
d9c38d1592
1 changed files with 4 additions and 0 deletions
|
@ -37,10 +37,14 @@ export default {
|
||||||
|
|
||||||
if (!totalBytes) return 0
|
if (!totalBytes) return 0
|
||||||
return Math.min(1, totalBytesDownloaded / totalBytes)
|
return Math.min(1, totalBytesDownloaded / totalBytes)
|
||||||
|
},
|
||||||
|
isIos() {
|
||||||
|
return this.$platform === 'ios'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickedIt() {
|
clickedIt() {
|
||||||
|
if (this.isIos) return // TODO: Implement on iOS
|
||||||
this.$router.push('/downloading')
|
this.$router.push('/downloading')
|
||||||
},
|
},
|
||||||
onItemDownloadComplete(data) {
|
onItemDownloadComplete(data) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue