mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 17:44:51 +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
|
||||
return Math.min(1, totalBytesDownloaded / totalBytes)
|
||||
},
|
||||
isIos() {
|
||||
return this.$platform === 'ios'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clickedIt() {
|
||||
if (this.isIos) return // TODO: Implement on iOS
|
||||
this.$router.push('/downloading')
|
||||
},
|
||||
onItemDownloadComplete(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue