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" :value="torrent.progress"
height="20" height="20"
:style="phoneLayout ? '' : 'width: 80%;'" :style="phoneLayout ? '' : 'width: 80%;'"
:color="`torrent-${state}-color`" :color="`torrent-${state}`"
rounded rounded
> >
<span <span

View file

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

View file

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