Skip to content

Commit

Permalink
Merge Master to shubham/wiring-up-endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamkmr04 committed May 23, 2024
2 parents 5b3892d + 3ffe334 commit e1a792c
Show file tree
Hide file tree
Showing 57 changed files with 1,808 additions and 1,793 deletions.
1,144 changes: 600 additions & 544 deletions App.tsx

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ android {
versionCode 84
versionName "0.9.0-alpha4"
multiDexEnabled true
missingDimensionStrategy 'react-native-camera', 'general'
}
signingConfigs {
release {
Expand Down
4 changes: 1 addition & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ buildscript {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")

// Needed for react-native-camera-kit
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.3")
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.4")

// LN address notifications
classpath("com.google.gms:google-services:4.3.15")
Expand Down
4 changes: 2 additions & 2 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ newArchEnabled=false
# If set to false, you will be using JSC instead.
hermesEnabled=true

# Necessary for react-native-camera-kit
kotlin_version=1.8.0
# Necessary for react-native-vision-camera QR code scanning
VisionCamera_enableCodeScanner=true
4 changes: 0 additions & 4 deletions android/link-assets-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@
"path": "assets/images/SVG/DynamicSVG/OnChainSvg.tsx",
"sha1": "e959c75860607b476bca2b0a9078cb3cb46eb23e"
},
{
"path": "assets/images/SVG/DynamicSVG/ScanFrameSvg.tsx",
"sha1": "7485e1c143ccdfadb765d53dc9fc1626b251a637"
},
{
"path": "assets/images/SVG/DynamicSVG/UnifiedSvg.tsx",
"sha1": "e61cf6ad20fb18b3919d84a47bd4db8b0ab7bc4a"
Expand Down
43 changes: 0 additions & 43 deletions assets/images/SVG/DynamicSVG/ScanFrameSvg.tsx

This file was deleted.

15 changes: 10 additions & 5 deletions assets/images/SVG/Flash Off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions assets/images/SVG/Flash On.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions assets/images/SVG/Gallery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions components/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as React from 'react';
import { Button as ElementsButton } from 'react-native-elements';
import { themeColor } from './../utils/ThemeUtils';
import { StyleProp, ViewStyle } from 'react-native';
import { StyleProp, TextStyle, ViewStyle } from 'react-native';

interface ButtonProps {
title?: string;
icon?: any;
titleStyle?: any;
titleStyle?: TextStyle;
onPress?: any;
secondary?: boolean;
tertiary?: boolean;
Expand Down
7 changes: 4 additions & 3 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { themeColor } from '../utils/ThemeUtils';

import ArrowLeft from '../assets/images/SVG/Arrow_left.svg';
import Close from '../assets/images/SVG/Close.svg';
import { StackNavigationProp } from '@react-navigation/stack';

interface HeaderIcon extends IconObject {
icon?: string;
Expand All @@ -32,7 +33,7 @@ interface HeaderProps {
rightComponent?: React.ReactElement<{}> | TextProps | HeaderIcon;
containerStyle?: ViewStyle;
placement?: 'left' | 'center' | 'right' | undefined;
navigation?: any;
navigation?: StackNavigationProp<any, any>;
onBack?: () => void;
navigateBackOnBackPress?: boolean;
}
Expand All @@ -46,7 +47,7 @@ function ZeusHeader(props: HeaderProps) {
onPress={() => {
if (onBack) onBack();
if (navigateBackOnBackPress) {
props.navigation.goBack();
props.navigation!.goBack();
}
}}
accessibilityLabel={localeString('general.goBack')}
Expand All @@ -64,7 +65,7 @@ function ZeusHeader(props: HeaderProps) {
<TouchableOpacity
onPress={() => {
if (onBack) onBack();
props.navigation.goBack();
props.navigation!.goBack();
}}
accessibilityLabel={localeString('general.close')}
>
Expand Down
Loading

0 comments on commit e1a792c

Please sign in to comment.