diff options
author | 2022-10-22 15:43:38 +0530 | |
---|---|---|
committer | 2022-10-22 10:13:38 +0000 | |
commit | 8870f43b9c04a429b2071f3284e898bda478d74b (patch) | |
tree | 2856ee99374048a26af5899aff89cf40ffa514a3 /src/components/services/tabs | |
parent | 6.2.1-nightly.25 [skip ci] (diff) | |
download | ferdium-app-8870f43b9c04a429b2071f3284e898bda478d74b.tar.gz ferdium-app-8870f43b9c04a429b2071f3284e898bda478d74b.tar.zst ferdium-app-8870f43b9c04a429b2071f3284e898bda478d74b.zip |
Add service-level option 'isMediaBadgeEnabled' defaulted to false (#688)
Diffstat (limited to 'src/components/services/tabs')
-rw-r--r-- | src/components/services/tabs/TabItem.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/services/tabs/TabItem.js b/src/components/services/tabs/TabItem.js index ccf4e8d18..0aab82a6f 100644 --- a/src/components/services/tabs/TabItem.js +++ b/src/components/services/tabs/TabItem.js | |||
@@ -350,7 +350,10 @@ class TabItem extends Component { | |||
350 | ); | 350 | ); |
351 | } | 351 | } |
352 | 352 | ||
353 | const showMediaBadge = service.isMediaPlaying && service.isEnabled; | 353 | const showMediaBadge = |
354 | service.isMediaBadgeEnabled && | ||
355 | service.isMediaPlaying && | ||
356 | service.isEnabled; | ||
354 | const mediaBadge = ( | 357 | const mediaBadge = ( |
355 | <Icon icon={mdiVolumeSource} className="tab-item__icon" /> | 358 | <Icon icon={mdiVolumeSource} className="tab-item__icon" /> |
356 | ); | 359 | ); |