diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-01-04 18:53:27 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-01-05 21:47:48 +0100 |
commit | 7baf15675fbf068b8c455377f917746624b56258 (patch) | |
tree | fda61c513bfee80c290e9d8455aa447e6193b6e8 /app/javascript/flavours/glitch/features/ui/containers | |
parent | 0acd51acdc1e670bf57f58671cb8e30743782c63 (diff) |
Add local setting to disable swipe-to-change-columns
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/containers/columns_area_container.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/containers/columns_area_container.js b/app/javascript/flavours/glitch/features/ui/containers/columns_area_container.js index 4e26f3017..ba194a002 100644 --- a/app/javascript/flavours/glitch/features/ui/containers/columns_area_container.js +++ b/app/javascript/flavours/glitch/features/ui/containers/columns_area_container.js @@ -3,6 +3,7 @@ import ColumnsArea from '../components/columns_area'; const mapStateToProps = state => ({ columns: state.getIn(['settings', 'columns']), + swipeToChangeColumns: state.getIn(['local_settings', 'swipe_to_change_columns']), }); export default connect(mapStateToProps, null, null, { forwardRef: true })(ColumnsArea); |