Skip to content

Commit 41d43a9

Browse files
committed
Optimize UX & Modify package name
1 parent 764d1e9 commit 41d43a9

File tree

68 files changed

+4898
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+4898
-116
lines changed
Lines changed: 352 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,352 @@
1+
{
2+
"formatVersion": 1,
3+
"database": {
4+
"version": 3,
5+
"identityHash": "aa0a77a82f6e3d922fd86042152c24e7",
6+
"entities": [
7+
{
8+
"tableName": "wallets",
9+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `symbol` TEXT NOT NULL, `name` TEXT NOT NULL, `address` TEXT NOT NULL, `balance` TEXT NOT NULL, `passwordPrompt` TEXT NOT NULL, `restoreHeight` INTEGER NOT NULL, `isActive` INTEGER NOT NULL)",
10+
"fields": [
11+
{
12+
"fieldPath": "id",
13+
"columnName": "_id",
14+
"affinity": "INTEGER",
15+
"notNull": true
16+
},
17+
{
18+
"fieldPath": "symbol",
19+
"columnName": "symbol",
20+
"affinity": "TEXT",
21+
"notNull": true
22+
},
23+
{
24+
"fieldPath": "name",
25+
"columnName": "name",
26+
"affinity": "TEXT",
27+
"notNull": true
28+
},
29+
{
30+
"fieldPath": "address",
31+
"columnName": "address",
32+
"affinity": "TEXT",
33+
"notNull": true
34+
},
35+
{
36+
"fieldPath": "balance",
37+
"columnName": "balance",
38+
"affinity": "TEXT",
39+
"notNull": true
40+
},
41+
{
42+
"fieldPath": "passwordPrompt",
43+
"columnName": "passwordPrompt",
44+
"affinity": "TEXT",
45+
"notNull": true
46+
},
47+
{
48+
"fieldPath": "restoreHeight",
49+
"columnName": "restoreHeight",
50+
"affinity": "INTEGER",
51+
"notNull": true
52+
},
53+
{
54+
"fieldPath": "isActive",
55+
"columnName": "isActive",
56+
"affinity": "INTEGER",
57+
"notNull": true
58+
}
59+
],
60+
"primaryKey": {
61+
"columnNames": [
62+
"_id"
63+
],
64+
"autoGenerate": true
65+
},
66+
"indices": [
67+
{
68+
"name": "index_wallets_symbol_name",
69+
"unique": true,
70+
"columnNames": [
71+
"symbol",
72+
"name"
73+
],
74+
"createSql": "CREATE UNIQUE INDEX `index_wallets_symbol_name` ON `${TABLE_NAME}` (`symbol`, `name`)"
75+
}
76+
],
77+
"foreignKeys": []
78+
},
79+
{
80+
"tableName": "assets",
81+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `walletId` INTEGER NOT NULL, `token` TEXT NOT NULL, `balance` TEXT NOT NULL, `contractAddress` TEXT NOT NULL)",
82+
"fields": [
83+
{
84+
"fieldPath": "id",
85+
"columnName": "_id",
86+
"affinity": "INTEGER",
87+
"notNull": true
88+
},
89+
{
90+
"fieldPath": "walletId",
91+
"columnName": "walletId",
92+
"affinity": "INTEGER",
93+
"notNull": true
94+
},
95+
{
96+
"fieldPath": "token",
97+
"columnName": "token",
98+
"affinity": "TEXT",
99+
"notNull": true
100+
},
101+
{
102+
"fieldPath": "balance",
103+
"columnName": "balance",
104+
"affinity": "TEXT",
105+
"notNull": true
106+
},
107+
{
108+
"fieldPath": "contractAddress",
109+
"columnName": "contractAddress",
110+
"affinity": "TEXT",
111+
"notNull": true
112+
}
113+
],
114+
"primaryKey": {
115+
"columnNames": [
116+
"_id"
117+
],
118+
"autoGenerate": true
119+
},
120+
"indices": [
121+
{
122+
"name": "index_assets_walletId_contractAddress",
123+
"unique": true,
124+
"columnNames": [
125+
"walletId",
126+
"contractAddress"
127+
],
128+
"createSql": "CREATE UNIQUE INDEX `index_assets_walletId_contractAddress` ON `${TABLE_NAME}` (`walletId`, `contractAddress`)"
129+
}
130+
],
131+
"foreignKeys": []
132+
},
133+
{
134+
"tableName": "nodes",
135+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `symbol` TEXT NOT NULL, `url` TEXT NOT NULL, `isSelected` INTEGER NOT NULL)",
136+
"fields": [
137+
{
138+
"fieldPath": "id",
139+
"columnName": "_id",
140+
"affinity": "INTEGER",
141+
"notNull": true
142+
},
143+
{
144+
"fieldPath": "symbol",
145+
"columnName": "symbol",
146+
"affinity": "TEXT",
147+
"notNull": true
148+
},
149+
{
150+
"fieldPath": "url",
151+
"columnName": "url",
152+
"affinity": "TEXT",
153+
"notNull": true
154+
},
155+
{
156+
"fieldPath": "isSelected",
157+
"columnName": "isSelected",
158+
"affinity": "INTEGER",
159+
"notNull": true
160+
}
161+
],
162+
"primaryKey": {
163+
"columnNames": [
164+
"_id"
165+
],
166+
"autoGenerate": true
167+
},
168+
"indices": [
169+
{
170+
"name": "index_nodes_symbol_url",
171+
"unique": true,
172+
"columnNames": [
173+
"symbol",
174+
"url"
175+
],
176+
"createSql": "CREATE UNIQUE INDEX `index_nodes_symbol_url` ON `${TABLE_NAME}` (`symbol`, `url`)"
177+
}
178+
],
179+
"foreignKeys": []
180+
},
181+
{
182+
"tableName": "address_books",
183+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `symbol` TEXT NOT NULL, `address` TEXT NOT NULL, `notes` TEXT NOT NULL)",
184+
"fields": [
185+
{
186+
"fieldPath": "id",
187+
"columnName": "_id",
188+
"affinity": "INTEGER",
189+
"notNull": true
190+
},
191+
{
192+
"fieldPath": "symbol",
193+
"columnName": "symbol",
194+
"affinity": "TEXT",
195+
"notNull": true
196+
},
197+
{
198+
"fieldPath": "address",
199+
"columnName": "address",
200+
"affinity": "TEXT",
201+
"notNull": true
202+
},
203+
{
204+
"fieldPath": "notes",
205+
"columnName": "notes",
206+
"affinity": "TEXT",
207+
"notNull": true
208+
}
209+
],
210+
"primaryKey": {
211+
"columnNames": [
212+
"_id"
213+
],
214+
"autoGenerate": true
215+
},
216+
"indices": [
217+
{
218+
"name": "index_address_books_symbol_address_notes",
219+
"unique": true,
220+
"columnNames": [
221+
"symbol",
222+
"address",
223+
"notes"
224+
],
225+
"createSql": "CREATE UNIQUE INDEX `index_address_books_symbol_address_notes` ON `${TABLE_NAME}` (`symbol`, `address`, `notes`)"
226+
}
227+
],
228+
"foreignKeys": []
229+
},
230+
{
231+
"tableName": "transactionInfo",
232+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `token` TEXT NOT NULL, `assetId` INTEGER NOT NULL, `walletId` INTEGER NOT NULL, `direction` INTEGER NOT NULL, `isPending` INTEGER NOT NULL, `isFailed` INTEGER NOT NULL, `amount` TEXT, `fee` TEXT, `blockHeight` INTEGER NOT NULL, `confirmations` INTEGER NOT NULL, `hash` TEXT, `timestamp` INTEGER NOT NULL, `paymentId` TEXT, `txKey` TEXT, `address` TEXT, `subAddressLabel` TEXT)",
233+
"fields": [
234+
{
235+
"fieldPath": "id",
236+
"columnName": "_id",
237+
"affinity": "INTEGER",
238+
"notNull": true
239+
},
240+
{
241+
"fieldPath": "token",
242+
"columnName": "token",
243+
"affinity": "TEXT",
244+
"notNull": true
245+
},
246+
{
247+
"fieldPath": "assetId",
248+
"columnName": "assetId",
249+
"affinity": "INTEGER",
250+
"notNull": true
251+
},
252+
{
253+
"fieldPath": "walletId",
254+
"columnName": "walletId",
255+
"affinity": "INTEGER",
256+
"notNull": true
257+
},
258+
{
259+
"fieldPath": "direction",
260+
"columnName": "direction",
261+
"affinity": "INTEGER",
262+
"notNull": true
263+
},
264+
{
265+
"fieldPath": "isPending",
266+
"columnName": "isPending",
267+
"affinity": "INTEGER",
268+
"notNull": true
269+
},
270+
{
271+
"fieldPath": "isFailed",
272+
"columnName": "isFailed",
273+
"affinity": "INTEGER",
274+
"notNull": true
275+
},
276+
{
277+
"fieldPath": "amount",
278+
"columnName": "amount",
279+
"affinity": "TEXT",
280+
"notNull": false
281+
},
282+
{
283+
"fieldPath": "fee",
284+
"columnName": "fee",
285+
"affinity": "TEXT",
286+
"notNull": false
287+
},
288+
{
289+
"fieldPath": "blockHeight",
290+
"columnName": "blockHeight",
291+
"affinity": "INTEGER",
292+
"notNull": true
293+
},
294+
{
295+
"fieldPath": "confirmations",
296+
"columnName": "confirmations",
297+
"affinity": "INTEGER",
298+
"notNull": true
299+
},
300+
{
301+
"fieldPath": "hash",
302+
"columnName": "hash",
303+
"affinity": "TEXT",
304+
"notNull": false
305+
},
306+
{
307+
"fieldPath": "timestamp",
308+
"columnName": "timestamp",
309+
"affinity": "INTEGER",
310+
"notNull": true
311+
},
312+
{
313+
"fieldPath": "paymentId",
314+
"columnName": "paymentId",
315+
"affinity": "TEXT",
316+
"notNull": false
317+
},
318+
{
319+
"fieldPath": "txKey",
320+
"columnName": "txKey",
321+
"affinity": "TEXT",
322+
"notNull": false
323+
},
324+
{
325+
"fieldPath": "address",
326+
"columnName": "address",
327+
"affinity": "TEXT",
328+
"notNull": false
329+
},
330+
{
331+
"fieldPath": "subAddressLabel",
332+
"columnName": "subAddressLabel",
333+
"affinity": "TEXT",
334+
"notNull": false
335+
}
336+
],
337+
"primaryKey": {
338+
"columnNames": [
339+
"_id"
340+
],
341+
"autoGenerate": true
342+
},
343+
"indices": [],
344+
"foreignKeys": []
345+
}
346+
],
347+
"setupQueries": [
348+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
349+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"aa0a77a82f6e3d922fd86042152c24e7\")"
350+
]
351+
}
352+
}

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
android:theme="@style/AppTheme"
1717
tools:ignore="GoogleAppIndexingWarning">
1818
<activity
19-
android:name="SplashActivity"
19+
android:name=".SplashActivity"
2020
android:configChanges="orientation|keyboardHidden"
2121
android:screenOrientation="portrait"
2222
android:theme="@style/SplashTheme">
@@ -124,6 +124,10 @@
124124
android:name=".feature.wallet.AddressSettingActivity"
125125
android:configChanges="orientation|keyboardHidden"
126126
android:screenOrientation="portrait" />
127+
<activity
128+
android:name=".feature.setting.MarketActivity"
129+
android:configChanges="orientation|keyboardHidden"
130+
android:screenOrientation="portrait" />
127131
</application>
128132

129133
</manifest>

app/src/main/ic_launcher-web.png

-37.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)