fix bottom tabs blur overlay color (#18621)

This commit is contained in:
Parvesh Monu 2024-01-26 11:44:58 +05:30 committed by GitHub
parent d8e0d1c36b
commit d82bf3365d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
(:require (:require
[quo.foundations.colors :as colors] [quo.foundations.colors :as colors]
[react-native.platform :as platform] [react-native.platform :as platform]
[react-native.reanimated :as reanimated]
[status-im.contexts.shell.jump-to.utils :as utils])) [status-im.contexts.shell.jump-to.utils :as utils]))
(defn bottom-tabs-container (defn bottom-tabs-container
@ -28,10 +29,11 @@
(defn bottom-tabs-blur-overlay (defn bottom-tabs-blur-overlay
[height] [height]
[{:height height} (reanimated/apply-animations-to-style
{:height height}
{:position :absolute {:position :absolute
:left 0 :left 0
:right 0 :right 0
:bottom 0 :bottom 0
:height (utils/bottom-tabs-container-height) :height (utils/bottom-tabs-container-height)
:background-color colors/neutral-100-opa-70-blur}]) :background-color colors/neutral-100-opa-70-blur}))