remove blurview

This commit is contained in:
Andrea Maria Piana 2024-07-17 11:44:27 +01:00
parent d4f977283e
commit e7354b5de8
7 changed files with 5 additions and 26 deletions

View File

@ -16,7 +16,6 @@ import com.reactnativenavigation.react.NavigationReactNativeHost;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;
import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactInstanceManager;
import com.facebook.react.modules.network.OkHttpClientProvider; import com.facebook.react.modules.network.OkHttpClientProvider;
import com.cmcewen.blurview.BlurViewPackage;
import java.util.List; import java.util.List;
@ -45,7 +44,6 @@ public class MainApplication extends NavigationApplication {
packages.add(new ReactNativeDialogsPackage()); packages.add(new ReactNativeDialogsPackage());
packages.add(new RNStatusKeycardPackage()); packages.add(new RNStatusKeycardPackage());
packages.add(new PushNotificationPackage()); packages.add(new PushNotificationPackage());
packages.add(new BlurViewPackage());
return packages; return packages;
} }

View File

@ -4059,20 +4059,6 @@
} }
}, },
{
"path": "com/eightbitlab/blurview/1.6.6/blurview-1.6.6",
"host": "https://plugins.gradle.org/m2",
"type": "aar",
"pom": {
"sha1": "489f224c45b0b1de96491381bdaa181ccae964a2",
"sha256": "0xjrxz13zkw789npq0d96bxsi5w6f6mjnh9cbnlk3i8gc4c4906q"
},
"jar": {
"sha1": "6457c0c2928b4580764fafa88ae67a9b451ff0ef",
"sha256": "03y7j7vjyjhqw9imk5wzqghanqh8q541dlhzrmpbdk2sp8hy3cnq"
}
},
{ {
"path": "com/facebook/fresco/drawee/2.2.0/drawee-2.2.0", "path": "com/facebook/fresco/drawee/2.2.0/drawee-2.2.0",
"host": "https://plugins.gradle.org/m2", "host": "https://plugins.gradle.org/m2",

View File

@ -310,7 +310,6 @@ com.android.tools:sdk-common:26.2.1
com.android.tools:sdk-common:26.3.1 com.android.tools:sdk-common:26.3.1
com.android.tools:sdk-common:26.5.4 com.android.tools:sdk-common:26.5.4
com.drewnoakes:metadata-extractor:2.9.1 com.drewnoakes:metadata-extractor:2.9.1
com.eightbitlab:blurview:1.6.6
com.facebook.conceal:conceal:1.1.3 com.facebook.conceal:conceal:1.1.3
com.facebook.flipper:flipper-fresco-plugin:0.54.0 com.facebook.flipper:flipper-fresco-plugin:0.54.0
com.facebook.flipper:flipper:0.54.0 com.facebook.flipper:flipper:0.54.0

View File

@ -288,7 +288,6 @@ https://jitpack.io/com/github/status-im/status-keycard-java/lib/3.1.1/lib-3.1.1.
https://jitpack.io/com/github/wix-playground/ahbottomnavigation/3.3.0/ahbottomnavigation-3.3.0.pom https://jitpack.io/com/github/wix-playground/ahbottomnavigation/3.3.0/ahbottomnavigation-3.3.0.pom
https://jitpack.io/com/github/wix-playground/reflow-animator/1.0.6/reflow-animator-1.0.6.pom https://jitpack.io/com/github/wix-playground/reflow-animator/1.0.6/reflow-animator-1.0.6.pom
https://jitpack.io/com/github/yalantis/ucrop/2.2.6-native/ucrop-2.2.6-native.pom https://jitpack.io/com/github/yalantis/ucrop/2.2.6-native/ucrop-2.2.6-native.pom
https://plugins.gradle.org/m2/com/eightbitlab/blurview/1.6.6/blurview-1.6.6.pom
https://plugins.gradle.org/m2/com/facebook/fresco/drawee/2.2.0/drawee-2.2.0.pom https://plugins.gradle.org/m2/com/facebook/fresco/drawee/2.2.0/drawee-2.2.0.pom
https://plugins.gradle.org/m2/com/facebook/fresco/fbcore/2.2.0/fbcore-2.2.0.pom https://plugins.gradle.org/m2/com/facebook/fresco/fbcore/2.2.0/fbcore-2.2.0.pom
https://plugins.gradle.org/m2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom https://plugins.gradle.org/m2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom

View File

@ -51,7 +51,7 @@
:transform [{:scale (:switcher-container-scale shared-values)}]} :transform [{:scale (:switcher-container-scale shared-values)}]}
switcher-container-original-style)] switcher-container-original-style)]
[reanimated/view {:style switcher-screen-animated-style} [reanimated/view {:style switcher-screen-animated-style}
[react/blur-view (styles/switcher-blur-background)] [react/view (styles/switcher-blur-background)]
[reanimated/view {:style switcher-container-animated-style} [reanimated/view {:style switcher-container-animated-style}
[switcher-container/tabs toggle-switcher-screen-fn]]]))]) [switcher-container/tabs toggle-switcher-screen-fn]]]))])

View File

@ -13,8 +13,7 @@
["@react-native-community/clipboard" :default Clipboard] ["@react-native-community/clipboard" :default Clipboard]
["react-native-linear-gradient" :default LinearGradient] ["react-native-linear-gradient" :default LinearGradient]
["react-native-navigation" :refer (Navigation)] ["react-native-navigation" :refer (Navigation)]
["react-native-fast-image" :as FastImage] ["react-native-fast-image" :as FastImage])
["@react-native-community/blur" :as blur])
(:require-macros [status-im.utils.views :as views])) (:require-macros [status-im.utils.views :as views]))
(def native-modules (.-NativeModules react-native)) (def native-modules (.-NativeModules react-native))
@ -40,8 +39,6 @@
(def linear-gradient (reagent/adapt-react-class LinearGradient)) (def linear-gradient (reagent/adapt-react-class LinearGradient))
(def blur-view (reagent/adapt-react-class (.-BlurView blur)))
(defn valid-source? [source] (defn valid-source? [source]
(or (not (map? source)) (or (not (map? source))
(not (contains? source :uri)) (not (contains? source :uri))

View File

@ -121,9 +121,9 @@
(i18n/label :t/close)]] (i18n/label :t/close)]]
(when managed-session (when managed-session
(if platform/ios? (if platform/ios?
[react/blur-view {:style (styles/blur-view) [react/view {:style (styles/blur-view)
:blurAmount 2 :blurAmount 2
:blurType (if (colors/dark?) :dark :light)}] :blurType (if (colors/dark?) :dark :light)}]
[react/view (styles/blur-view)]))]))) [react/view (styles/blur-view)]))])))
(defview app-management-sheet-view [{:keys [wc-version] :as session}] (defview app-management-sheet-view [{:keys [wc-version] :as session}]