diff options
author | 2021-10-26 20:37:56 +0530 | |
---|---|---|
committer | 2021-10-26 20:37:56 +0530 | |
commit | 955f2abeb2c093515e6dd0026b4072145a2be6b6 (patch) | |
tree | 265497cf116ccf1d11fb869a95fcabcf0baacf18 /src/components/services/tabs/Tabbar.js | |
parent | docs: add Vishnu017 as a contributor for code (#2142) [skip ci] (diff) | |
download | ferdium-app-955f2abeb2c093515e6dd0026b4072145a2be6b6.tar.gz ferdium-app-955f2abeb2c093515e6dd0026b4072145a2be6b6.tar.zst ferdium-app-955f2abeb2c093515e6dd0026b4072145a2be6b6.zip |
Add feature to display service name under service icon when the toggle for it is enabled in the settings (#2136)
Co-authored-by: AnjithPaul <anjithpaul.mec@gmail.com>
Diffstat (limited to 'src/components/services/tabs/Tabbar.js')
-rw-r--r-- | src/components/services/tabs/Tabbar.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/services/tabs/Tabbar.js b/src/components/services/tabs/Tabbar.js index 4ab0e8611..94d6f33c1 100644 --- a/src/components/services/tabs/Tabbar.js +++ b/src/components/services/tabs/Tabbar.js | |||
@@ -23,6 +23,7 @@ class TabBar extends Component { | |||
23 | wakeUpService: PropTypes.func.isRequired, | 23 | wakeUpService: PropTypes.func.isRequired, |
24 | useVerticalStyle: PropTypes.bool.isRequired, | 24 | useVerticalStyle: PropTypes.bool.isRequired, |
25 | showMessageBadgeWhenMutedSetting: PropTypes.bool.isRequired, | 25 | showMessageBadgeWhenMutedSetting: PropTypes.bool.isRequired, |
26 | showServiceNameSetting: PropTypes.bool.isRequired, | ||
26 | showMessageBadgesEvenWhenMuted: PropTypes.bool.isRequired, | 27 | showMessageBadgesEvenWhenMuted: PropTypes.bool.isRequired, |
27 | }; | 28 | }; |
28 | 29 | ||
@@ -82,6 +83,7 @@ class TabBar extends Component { | |||
82 | deleteService, | 83 | deleteService, |
83 | useVerticalStyle, | 84 | useVerticalStyle, |
84 | showMessageBadgeWhenMutedSetting, | 85 | showMessageBadgeWhenMutedSetting, |
86 | showServiceNameSetting, | ||
85 | showMessageBadgesEvenWhenMuted, | 87 | showMessageBadgesEvenWhenMuted, |
86 | } = this.props; | 88 | } = this.props; |
87 | 89 | ||
@@ -110,6 +112,7 @@ class TabBar extends Component { | |||
110 | lockAxis={axis} | 112 | lockAxis={axis} |
111 | helperClass="is-reordering" | 113 | helperClass="is-reordering" |
112 | showMessageBadgeWhenMutedSetting={showMessageBadgeWhenMutedSetting} | 114 | showMessageBadgeWhenMutedSetting={showMessageBadgeWhenMutedSetting} |
115 | showServiceNameSetting={showServiceNameSetting} | ||
113 | showMessageBadgesEvenWhenMuted={showMessageBadgesEvenWhenMuted} | 116 | showMessageBadgesEvenWhenMuted={showMessageBadgesEvenWhenMuted} |
114 | /> | 117 | /> |
115 | </div> | 118 | </div> |