about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/ui
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2017-12-09 15:15:11 -0600
committercwm <chriswmartin@protonmail.com>2017-12-09 15:15:11 -0600
commit8606e5338476cb7de21cb611d015e966f1cf48cc (patch)
treea00f8426247886e26678d82124db0b85cec59665 /app/javascript/flavours/glitch/features/ui
parentfbd2a0127cb537e91508032a87bc82675f88d271 (diff)
moved locales to glitch, created add settings entry
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui')
-rw-r--r--app/javascript/flavours/glitch/features/ui/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js
index 4a1982916..1e8de033c 100644
--- a/app/javascript/flavours/glitch/features/ui/index.js
+++ b/app/javascript/flavours/glitch/features/ui/index.js
@@ -57,6 +57,7 @@ const mapStateToProps = state => ({
   layout: state.getIn(['local_settings', 'layout']),
   isWide: state.getIn(['local_settings', 'stretch']),
   navbarUnder: state.getIn(['local_settings', 'navbar_under']),
+  favouriteModal: state.getIn(['local_settings', 'favourite_modal']),
 });
 
 const keyMap = {
@@ -103,6 +104,7 @@ export default class UI extends React.Component {
     isWide: PropTypes.bool,
     systemFontUi: PropTypes.bool,
     navbarUnder: PropTypes.bool,
+    favouriteModal: PropTypes.bool,
     isComposing: PropTypes.bool,
     hasComposingText: PropTypes.bool,
     location: PropTypes.object,