Skip to content

Commit 83c3bea

Browse files
committed
Updated versionCode to 47 in build.gradle.
Updated CURRENT_PROJECT_VERSION to 2 in project.pbxproj. Removed unused displayEmptyComponent and updated empty background color in TransactionList. Updated updates in Welcome.tsx
1 parent 70529f2 commit 83c3bea

File tree

4 files changed

+8
-39
lines changed

4 files changed

+8
-39
lines changed

android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ android {
151151
applicationId "com.kisswallet"
152152
minSdkVersion rootProject.ext.minSdkVersion
153153
targetSdkVersion rootProject.ext.targetSdkVersion
154-
versionCode 46
154+
versionCode 47
155155
versionName "0.3.4"
156156
multiDexEnabled true
157157
missingDimensionStrategy 'react-native-camera', 'general'

ios/moonshine.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@
843843
buildSettings = {
844844
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
845845
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
846-
CURRENT_PROJECT_VERSION = 0;
846+
CURRENT_PROJECT_VERSION = 2;
847847
DEAD_CODE_STRIPPING = NO;
848848
DEVELOPMENT_TEAM = 344W3TSQCK;
849849
INFOPLIST_FILE = moonshine/Info.plist;
@@ -866,7 +866,7 @@
866866
buildSettings = {
867867
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
868868
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
869-
CURRENT_PROJECT_VERSION = 0;
869+
CURRENT_PROJECT_VERSION = 2;
870870
DEVELOPMENT_TEAM = 344W3TSQCK;
871871
INFOPLIST_FILE = moonshine/Info.plist;
872872
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

src/components/TransactionList.tsx

+3-29
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ import {
77
import PropTypes from "prop-types";
88
import { systemWeights } from "react-native-typography";
99
import TransactionRow from "./TransactionRow";
10-
import LottieView from "lottie-react-native";
1110
import { View, Text } from "../styles/components";
1211

13-
const {
14-
Constants: {
15-
colors
16-
}
17-
} = require("../../ProjectData.json");
18-
1912
interface DisplayItemComponent {
2013
transaction: {
2114
item: Transaction
@@ -130,24 +123,6 @@ const _TransactionList = (
130123
onTransactionPress = () => null
131124
}: TransactionListComponent) => {
132125

133-
const displayEmptyComponent = () => {
134-
try {
135-
return (
136-
<View style={{ position: "absolute", alignItems: "center", justifyContent: "center", top: 0, bottom: 0, left: 0, right: 0, borderWidth: 1, borderColor: "blue" }}>
137-
<Text style={[styles.boldText, { marginTop: 20 }]}>No items to display...</Text>
138-
<LottieView
139-
source={require("../assets/lottie/empty_list")}
140-
autoPlay={true}
141-
loop={true}
142-
style={{ width: 150, height: 150, marginTop: 10 }}
143-
/>
144-
</View>
145-
);
146-
} catch (e) {
147-
console.log(e);
148-
}
149-
};
150-
151126
//Returns all transactions for the selected crypto.
152127
const getTransactions = () => {
153128
try {
@@ -172,7 +147,7 @@ const _TransactionList = (
172147
return (
173148
<View style={styles.container}>
174149
{!hasTransactions() &&
175-
<View type="background2" style={styles.emptyComponentContainer}>
150+
<View style={styles.emptyComponentContainer}>
176151
<Text style={styles.text}>No transactions to display...</Text>
177152
</View>
178153
}
@@ -182,7 +157,6 @@ const _TransactionList = (
182157
data={transactions}
183158
extraData={getTransactions()}
184159
keyExtractor={(transaction) => `${transaction.hash}`}
185-
ListEmptyComponent={displayEmptyComponent()}
186160
renderItem={(transaction): any => {
187161
let isBlacklisted = false;
188162
try { isBlacklisted = blacklistedUtxos.includes(transaction.item.hash); } catch (e) {}
@@ -197,7 +171,7 @@ const _TransactionList = (
197171
cryptoUnit={cryptoUnit}
198172
isBlacklisted={isBlacklisted}
199173
/>
200-
);
174+
);
201175
}}
202176
refreshControl={
203177
<RefreshControl
@@ -207,7 +181,7 @@ const _TransactionList = (
207181
onRefresh={onRefresh}
208182
tintColor={"transparent"}
209183
progressBackgroundColor={"transparent"}
210-
colors={[colors.white]}
184+
colors={["transparent"]}
211185
/>
212186
}
213187
/>}

src/components/Welcome.tsx

+2-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@ import {systemWeights} from "react-native-typography";
44
import XButton from "./XButton";
55
import { Text } from "../styles/components";
66

7-
const {
8-
Constants: {
9-
colors
10-
}
11-
} = require("../../ProjectData.json");
12-
137
const updates = [
14-
`Added Dark Mode.`
8+
`Dark Mode! This can be enabled from the Settings menu by toggling "Dark Mode" on.`,
9+
"Fixed RBF button pop-in animation when transitioning to the Transaction Detail view."
1510
];
1611

1712
const _Welcome = ({ onClose = () => null, children = <View /> } = {}) => {

0 commit comments

Comments
 (0)