diff --git a/src/status_im/android/core.cljs b/src/status_im/android/core.cljs index 54505cbfea..0617d01441 100644 --- a/src/status_im/android/core.cljs +++ b/src/status_im/android/core.cljs @@ -32,14 +32,12 @@ "keyboardDidShow" (fn [e] (let [h (.. e -endCoordinates -height)] - (dispatch [:hide-tab-bar]) (when-not (= h @keyboard-height) (dispatch [:set :keyboard-height h]) (dispatch [:set :keyboard-max-height h]))))) (.addListener react/keyboard "keyboardDidHide" (fn [_] - (dispatch [:show-tab-bar]) (when-not (zero? @keyboard-height) (dispatch [:set :keyboard-height 0])))) (.hide react/splash-screen) diff --git a/src/status_im/subs.cljs b/src/status_im/subs.cljs index 515ad29ca0..9965c8bd60 100644 --- a/src/status_im/subs.cljs +++ b/src/status_im/subs.cljs @@ -75,7 +75,6 @@ (reg-root-key-sub :peers-count :peers-count) (reg-root-key-sub :about-app/node-info :node-info) (reg-root-key-sub :peers-summary :peers-summary) -(reg-root-key-sub :tab-bar-visible? :tab-bar-visible?) (reg-root-key-sub :dimensions/window :dimensions/window) (reg-root-key-sub :initial-props :initial-props) (reg-root-key-sub :fleets/custom-fleets :custom-fleets) diff --git a/src/status_im/ui/screens/db.cljs b/src/status_im/ui/screens/db.cljs index 0ee958d608..274501de47 100644 --- a/src/status_im/ui/screens/db.cljs +++ b/src/status_im/ui/screens/db.cljs @@ -19,7 +19,6 @@ ;; initial state of app-db (def app-db {:keyboard-height 0 - :tab-bar-visible? true :navigation-stack '(:multiaccounts) :contacts/contacts {} :pairing/installations {} @@ -75,7 +74,6 @@ ;;height of native keyboard if shown (spec/def ::keyboard-height (spec/nilable number?)) (spec/def ::keyboard-max-height (spec/nilable number?)) -(spec/def ::tab-bar-visible? (spec/nilable boolean?)) ;;:online - presence of internet connection in the phone (spec/def ::network-status (spec/nilable keyword?)) ;; ui connectivity status @@ -267,7 +265,6 @@ ::webview-bridge ::keyboard-height ::keyboard-max-height - ::tab-bar-visible? ::network-status ::peers-count ::node-info diff --git a/src/status_im/ui/screens/events.cljs b/src/status_im/ui/screens/events.cljs index 8ee6cc0d3c..f62b28977f 100644 --- a/src/status_im/ui/screens/events.cljs +++ b/src/status_im/ui/screens/events.cljs @@ -184,16 +184,6 @@ (fn [{:keys [db]} [_ type item-id value]] {:db (assoc-in db [:animations type item-id :delete-swiped] value)})) -(handlers/register-handler-fx - :show-tab-bar - (fn [{:keys [db]} _] - {:db (assoc db :tab-bar-visible? true)})) - -(handlers/register-handler-fx - :hide-tab-bar - (fn [{:keys [db]} _] - {:db (assoc db :tab-bar-visible? false)})) - (handlers/register-handler-fx :update-window-dimensions (fn [{:keys [db]} [_ dimensions]] diff --git a/src/status_im/utils/logging/core.cljs b/src/status_im/utils/logging/core.cljs index 542dbc9e70..5b0386e606 100644 --- a/src/status_im/utils/logging/core.cljs +++ b/src/status_im/utils/logging/core.cljs @@ -55,7 +55,6 @@ :peers-count :peers-summary :sync-state - :tab-bar-visible? :view-id :chat/cooldown-enabled? :chat/cooldowns