fix: torrent progress color #410

This commit is contained in:
Daan Wijns 2022-04-17 15:35:22 +02:00
parent ce698e38a8
commit 886bc13f10
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@
:value="torrent.progress"
height="20"
:style="phoneLayout ? '' : 'width: 80%;'"
:color="`torrent-${state}-color`"
:color="`torrent-${state}`"
rounded
>
<span

View file

@ -37,7 +37,7 @@ export default {
style() {
const state = this.torrent.state.toLowerCase()
return `sideborder ${state} ${this.isSelected ? `torrent-${state}-color` : ''}`
return `sideborder ${state} ${this.isSelected ? `torrent-${state}` : ''}`
}
},
methods: {

View file

@ -13,6 +13,7 @@ const locale = {
torrent: {
title: 'titel',
added: 'toegevoegd op',
availability: 'beschikbaarheid',
size: 'grootte',
progress: 'vooruitgang',
directory: 'map',