mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
DEL: Remove nav color android package
This commit is contained in:
parent
ce9a3cbde4
commit
9002e117eb
6 changed files with 7 additions and 28 deletions
11
App.js
11
App.js
|
@ -32,7 +32,6 @@ import DeviceQuickActions from './class/quick-actions';
|
|||
import Notifications from './blue_modules/notifications';
|
||||
import Biometric from './class/biometrics';
|
||||
import WidgetCommunication from './blue_modules/WidgetCommunication';
|
||||
import changeNavigationBarColor from 'react-native-navigation-bar-color';
|
||||
import ActionSheet from './screen/ActionSheet';
|
||||
import HandoffComponent from './components/handoff';
|
||||
import Privacy from './blue_modules/Privacy';
|
||||
|
@ -129,16 +128,6 @@ const App = () => {
|
|||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (colorScheme) {
|
||||
if (colorScheme === 'light') {
|
||||
changeNavigationBarColor(BlueDefaultTheme.colors.background, true, true);
|
||||
} else {
|
||||
changeNavigationBarColor(BlueDarkTheme.colors.buttonBackgroundColor, false, true);
|
||||
}
|
||||
}
|
||||
}, [colorScheme]);
|
||||
|
||||
const addListeners = () => {
|
||||
Linking.addEventListener('url', handleOpenURL);
|
||||
AppState.addEventListener('change', handleAppStateChange);
|
||||
|
|
|
@ -65,6 +65,7 @@ export const BlueDefaultTheme = {
|
|||
changeText: '#F38C47',
|
||||
receiveBackground: '#D1F9D6',
|
||||
receiveText: '#37C0A1',
|
||||
navigationBarColor: '#FFFFFF',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -120,6 +121,7 @@ export const BlueDarkTheme: Theme = {
|
|||
changeText: '#F38C47',
|
||||
receiveBackground: 'rgba(210,248,214,.2)',
|
||||
receiveText: '#37C0A1',
|
||||
navigationBarColor: '#3A3A3C',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -392,11 +392,11 @@ PODS:
|
|||
- React-perflogger (= 0.71.14)
|
||||
- ReactNativeCameraKit (13.0.0):
|
||||
- React-Core
|
||||
- RealmJS (12.2.1):
|
||||
- RealmJS (12.3.0):
|
||||
- React
|
||||
- rn-ldk (0.8.4):
|
||||
- React-Core
|
||||
- RNCAsyncStorage (1.19.3):
|
||||
- RNCAsyncStorage (1.19.4):
|
||||
- React-Core
|
||||
- RNCClipboard (1.12.1):
|
||||
- React-Core
|
||||
|
@ -769,9 +769,9 @@ SPEC CHECKSUMS:
|
|||
React-runtimeexecutor: ffe826b7b1cfbc32a35ed5b64d5886c0ff75f501
|
||||
ReactCommon: 7f3dd5e98a9ec627c6b03d26c062bf37ea9fc888
|
||||
ReactNativeCameraKit: 9d46a5d7dd544ca64aa9c03c150d2348faf437eb
|
||||
RealmJS: b36dae5c0def204602827884512252a320332c69
|
||||
RealmJS: 4c52a15602e70b64cd9230b0a17a9c12741371f4
|
||||
rn-ldk: 0d8749d98cc5ce67302a32831818c116b67f7643
|
||||
RNCAsyncStorage: c913ede1fa163a71cea118ed4670bbaaa4b511bb
|
||||
RNCAsyncStorage: 3a8f7145d17cdd9f88e7b77666c94a09e4f759c8
|
||||
RNCClipboard: d77213bfa269013bf4b857b7a9ca37ee062d8ef1
|
||||
RNCPushNotificationIOS: 64218f3c776c03d7408284a819b2abfda1834bc8
|
||||
RNDefaultPreference: 08bdb06cfa9188d5da97d4642dac745218d7fb31
|
||||
|
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -79,7 +79,6 @@
|
|||
"react-native-linear-gradient": "2.8.3",
|
||||
"react-native-localize": "3.0.2",
|
||||
"react-native-modal": "13.0.1",
|
||||
"react-native-navigation-bar-color": "https://github.com/BlueWallet/react-native-navigation-bar-color#3b2894ae62fbce99a3bd24105f0921cebaef5c94",
|
||||
"react-native-obscure": "https://github.com/BlueWallet/react-native-obscure.git#f4b83b4a261e39b1f5ed4a45ac5bcabc8a59eadb",
|
||||
"react-native-passcode-auth": "https://github.com/BlueWallet/react-native-passcode-auth#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12",
|
||||
"react-native-permissions": "3.10.1",
|
||||
|
@ -18343,12 +18342,6 @@
|
|||
"react-native": ">=0.65.0"
|
||||
}
|
||||
},
|
||||
"node_modules/react-native-navigation-bar-color": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "git+ssh://git@github.com/BlueWallet/react-native-navigation-bar-color.git#3b2894ae62fbce99a3bd24105f0921cebaef5c94",
|
||||
"integrity": "sha512-tFVsXyfvEQ8FJM9r5k7buLAMC1QMHEo3uFdXYDw86Y3iQiHA4QnE2KCiJxjF7NhkL6HFVRSDSVv0r2qEhs1pMg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/react-native-obscure": {
|
||||
"name": "@talaikis/react-native-obscure",
|
||||
"version": "0.0.3",
|
||||
|
@ -34321,11 +34314,6 @@
|
|||
"react-native-animatable": "1.3.3"
|
||||
}
|
||||
},
|
||||
"react-native-navigation-bar-color": {
|
||||
"version": "git+ssh://git@github.com/BlueWallet/react-native-navigation-bar-color.git#3b2894ae62fbce99a3bd24105f0921cebaef5c94",
|
||||
"integrity": "sha512-tFVsXyfvEQ8FJM9r5k7buLAMC1QMHEo3uFdXYDw86Y3iQiHA4QnE2KCiJxjF7NhkL6HFVRSDSVv0r2qEhs1pMg==",
|
||||
"from": "react-native-navigation-bar-color@https://github.com/BlueWallet/react-native-navigation-bar-color#3b2894ae62fbce99a3bd24105f0921cebaef5c94"
|
||||
},
|
||||
"react-native-obscure": {
|
||||
"version": "git+ssh://git@github.com/BlueWallet/react-native-obscure.git#f4b83b4a261e39b1f5ed4a45ac5bcabc8a59eadb",
|
||||
"integrity": "sha512-bmzbnlXII8hW7steqwouzQW9cJ+mdA8HJ8pWkb0KD60jC5dYgJ0e66wgUiSTDNFPrvlEKriE4eEanoJFj7Q9pg==",
|
||||
|
|
|
@ -164,7 +164,6 @@
|
|||
"react-native-linear-gradient": "2.8.3",
|
||||
"react-native-localize": "3.0.2",
|
||||
"react-native-modal": "13.0.1",
|
||||
"react-native-navigation-bar-color": "https://github.com/BlueWallet/react-native-navigation-bar-color#3b2894ae62fbce99a3bd24105f0921cebaef5c94",
|
||||
"react-native-obscure": "https://github.com/BlueWallet/react-native-obscure.git#f4b83b4a261e39b1f5ed4a45ac5bcabc8a59eadb",
|
||||
"react-native-passcode-auth": "https://github.com/BlueWallet/react-native-passcode-auth#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12",
|
||||
"react-native-permissions": "3.10.1",
|
||||
|
|
|
@ -90,6 +90,7 @@ const WalletsList = () => {
|
|||
|
||||
useLayoutEffect(() => {
|
||||
setOptions({
|
||||
navigationBarColor: colors.navigationBarColor,
|
||||
headerShown: !isDesktop,
|
||||
headerStyle: {
|
||||
backgroundColor: colors.customHeader,
|
||||
|
|
Loading…
Add table
Reference in a new issue