Feature toggle

This commit is contained in:
alonso.torres 2022-07-11 11:16:39 +02:00 committed by Andrés Moya
parent 374f52a819
commit f2bd6a552f
3 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,14 @@
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) UXBOX Labs SL
;; This namespace is only to export the functions for toggle features
(ns features
(:require
[app.main.ui.features :as features]))
(defn ^:export autolayout []
(features/toggle-feature! :auto-layout))