Update app bar progress indicator to not navigate to downloading on iOS

This commit is contained in:
advplyr 2023-01-29 17:53:03 -06:00
parent a7227acbc3
commit d9c38d1592

View file

@ -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) {