[#20543] fix: incorrect black background behind floating button (#20585)

This commit is contained in:
Mohsen 2024-07-09 21:12:18 +03:30 committed by GitHub
parent f70a743a8c
commit 3521421098
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
(ns status-im.common.floating-button-page.floating-container.view (ns status-im.common.floating-button-page.floating-container.view
(:require (:require
[quo.core :as quo] [quo.core :as quo]
[quo.foundations.colors :as colors]
[quo.theme :as quo.theme] [quo.theme :as quo.theme]
[react-native.core :as rn] [react-native.core :as rn]
[status-im.common.floating-button-page.floating-container.style :as style])) [status-im.common.floating-button-page.floating-container.style :as style]))
@ -9,9 +10,10 @@
[child] [child]
(let [theme (quo.theme/use-theme)] (let [theme (quo.theme/use-theme)]
[quo/blur [quo/blur
{:blur-amount 12 {:blur-amount 52
:blur-radius 12 :blur-radius 20
:blur-type theme} :blur-type :transparent
:blur-overlay-color (colors/theme-colors colors/white-70-blur colors/neutral-95-opa-70-blur theme)}
[rn/view {:style style/blur-inner-container} [rn/view {:style style/blur-inner-container}
child]])) child]]))