Skip to content

Commit

Permalink
fix: torrent progress color #410
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Apr 17, 2022
1 parent ce698e3 commit 886bc13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Torrent/DashboardItems/Progress.vue
Expand Up @@ -12,7 +12,7 @@
:value="torrent.progress"
height="20"
:style="phoneLayout ? '' : 'width: 80%;'"
:color="`torrent-${state}-color`"
:color="`torrent-${state}`"
rounded
>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/components/Torrent/Torrent.vue
Expand Up @@ -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: {
Expand Down
1 change: 1 addition & 0 deletions src/lang/nl.js
Expand Up @@ -13,6 +13,7 @@ const locale = {
torrent: {
title: 'titel',
added: 'toegevoegd op',
availability: 'beschikbaarheid',
size: 'grootte',
progress: 'vooruitgang',
directory: 'map',
Expand Down

0 comments on commit 886bc13

Please sign in to comment.