Skip to content

Commit

Permalink
chore: hide download tip if already downloaded
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jun 18, 2024
1 parent 152f564 commit 07f3f3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/Settings/DownloadBinaries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ export default {
return t('libresign', 'Download binaries')
},
description() {
if (this.configureCheckStore.state === 'in progress') {
return t('libresign', 'Binaries required to work. Download size could be nearly 340MB, please wait a moment.')
} else if (this.configureCheckStore.state === 'need download') {
return t('libresign', 'Binaries required to work. Download size could be nearly 340MB, please wait a moment.')
if (this.configureCheckStore.state === 'downloading binaries'
|| this.configureCheckStore.state === 'need download'
) {
return t('libresign', 'Binaries required to work. Download size could be nearly {size}, please wait a moment.', { size: '186MB' })
}
return t('libresign', 'Binaries required to work. Download size could be nearly 340MB, please wait a moment.')
return ''
},
},
methods: {
Expand Down

0 comments on commit 07f3f3e

Please sign in to comment.