diff options
author | 2021-08-11 22:32:58 +0530 | |
---|---|---|
committer | 2021-08-11 22:32:58 +0530 | |
commit | 3405e22bf2bcddef2de0d59453c978fd1ea03836 (patch) | |
tree | 4e74b051ce53000d88960484a7d9112a662a26af /src/components/services/tabs/Tabbar.js | |
parent | refactor: removed legacy properties from recipes (diff) | |
download | ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.tar.gz ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.tar.zst ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.zip |
feat: allow the user to enable/disable dark mode
(from the sidebar context menu)
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 0f608c415..ab1e46c9f 100644 --- a/src/components/services/tabs/Tabbar.js +++ b/src/components/services/tabs/Tabbar.js | |||
@@ -15,6 +15,7 @@ export default @observer class TabBar extends Component { | |||
15 | reload: PropTypes.func.isRequired, | 15 | reload: PropTypes.func.isRequired, |
16 | toggleNotifications: PropTypes.func.isRequired, | 16 | toggleNotifications: PropTypes.func.isRequired, |
17 | toggleAudio: PropTypes.func.isRequired, | 17 | toggleAudio: PropTypes.func.isRequired, |
18 | toggleDarkMode: PropTypes.func.isRequired, | ||
18 | deleteService: PropTypes.func.isRequired, | 19 | deleteService: PropTypes.func.isRequired, |
19 | updateService: PropTypes.func.isRequired, | 20 | updateService: PropTypes.func.isRequired, |
20 | hibernateService: PropTypes.func.isRequired, | 21 | hibernateService: PropTypes.func.isRequired, |
@@ -78,6 +79,7 @@ export default @observer class TabBar extends Component { | |||
78 | reload, | 79 | reload, |
79 | toggleNotifications, | 80 | toggleNotifications, |
80 | toggleAudio, | 81 | toggleAudio, |
82 | toggleDarkMode, | ||
81 | deleteService, | 83 | deleteService, |
82 | showMessageBadgeWhenMutedSetting, | 84 | showMessageBadgeWhenMutedSetting, |
83 | showMessageBadgesEvenWhenMuted, | 85 | showMessageBadgesEvenWhenMuted, |
@@ -94,6 +96,7 @@ export default @observer class TabBar extends Component { | |||
94 | reload={reload} | 96 | reload={reload} |
95 | toggleNotifications={toggleNotifications} | 97 | toggleNotifications={toggleNotifications} |
96 | toggleAudio={toggleAudio} | 98 | toggleAudio={toggleAudio} |
99 | toggleDarkMode={toggleDarkMode} | ||
97 | deleteService={deleteService} | 100 | deleteService={deleteService} |
98 | disableService={(args) => this.disableService(args)} | 101 | disableService={(args) => this.disableService(args)} |
99 | enableService={(args) => this.enableService(args)} | 102 | enableService={(args) => this.enableService(args)} |