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

This commit is contained in:
Mohsen 2024-06-26 14:41:19 +03:30
parent 3ce6a86e9b
commit d38b0119bf
No known key found for this signature in database
GPG Key ID: 20BACCB8426033CE
1 changed files with 10 additions and 3 deletions

View File

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