-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sign up + LockScreen #28
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
fa81112
ready to create accounts
brunobar79 56c9dc9
account generation working
brunobar79 8a7ee2c
added login screen
brunobar79 a544302
avoid setstate when unmounted
brunobar79 d25872f
fix merge conflicts
brunobar79 1a300ec
clean up
brunobar79 0f1801c
more clean up
brunobar79 4263fab
fix merge conflicts
brunobar79 844630a
account list using real addresses
brunobar79 322e4cb
account list using real addresses
brunobar79 12ba618
clean up
brunobar79 e85ee0d
update tests
brunobar79 29f9802
clean up
brunobar79 ab4db10
fix android builds
brunobar79 99d28fc
android and ios are working
brunobar79 49c8324
android view looking good
brunobar79 410debf
UI refactor
brunobar79 acc9a60
code review stuff
brunobar79 c9a7910
update
brunobar79 8eac921
more code review stuff
brunobar79 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 9 additions & 147 deletions
156
app/components/AccountList/__snapshots__/index.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,154 +1,16 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Accounts should render correctly 1`] = ` | ||
<SafeAreaView | ||
style={ | ||
<Connect(AccountList) | ||
accounts={ | ||
Object { | ||
"backgroundColor": "#f1f2f6", | ||
"flex": 1, | ||
"0xe7E125654064EEa56229f273dA586F10DF96B0a1": Object { | ||
"address": "0xe7E125654064EEa56229f273dA586F10DF96B0a1", | ||
"balance": 0, | ||
"name": "account 1", | ||
}, | ||
} | ||
} | ||
> | ||
<Component | ||
style={ | ||
Object { | ||
"color": "#333333", | ||
"fontFamily": "Roboto", | ||
"fontSize": 25, | ||
"fontWeight": "500", | ||
"marginHorizontal": 20, | ||
"marginVertical": 30, | ||
} | ||
} | ||
> | ||
My Accounts | ||
</Component> | ||
<Component> | ||
<TouchableOpacity | ||
activeOpacity={0.2} | ||
key="account-0xe7E125654064EEa56229f273dA586F10DF96B0a1" | ||
onPress={[Function]} | ||
style={ | ||
Object { | ||
"flexDirection": "row", | ||
"marginBottom": 20, | ||
"marginLeft": 20, | ||
} | ||
} | ||
> | ||
<Component | ||
style={ | ||
Object { | ||
"marginRight": 15, | ||
"width": 30, | ||
} | ||
} | ||
> | ||
<Icon | ||
allowFontScaling={false} | ||
color="#007aff" | ||
name="check" | ||
size={30} | ||
/> | ||
</Component> | ||
<IdenticonComponent | ||
address="0xe7E125654064EEa56229f273dA586F10DF96B0a1" | ||
diameter={38} | ||
/> | ||
<Component | ||
style={ | ||
Object { | ||
"marginLeft": 15, | ||
} | ||
} | ||
> | ||
<Component | ||
style={ | ||
Object { | ||
"color": "#333333", | ||
"fontFamily": "Roboto", | ||
"fontSize": 18, | ||
"fontWeight": "400", | ||
} | ||
} | ||
> | ||
Account 1 | ||
</Component> | ||
<Component | ||
style={ | ||
Object { | ||
"color": "#999999", | ||
"fontFamily": "Roboto", | ||
"fontSize": 12, | ||
"fontWeight": "400", | ||
"paddingTop": 5, | ||
} | ||
} | ||
> | ||
0.017700 | ||
ETH | ||
</Component> | ||
</Component> | ||
</TouchableOpacity> | ||
<TouchableOpacity | ||
activeOpacity={0.2} | ||
key="account-0xf4F6A83117a9D0a9cA3b9684DEDaBc69d56721D8" | ||
onPress={[Function]} | ||
style={ | ||
Object { | ||
"flexDirection": "row", | ||
"marginBottom": 20, | ||
"marginLeft": 20, | ||
} | ||
} | ||
> | ||
<Component | ||
style={ | ||
Object { | ||
"marginRight": 15, | ||
"width": 30, | ||
} | ||
} | ||
/> | ||
<IdenticonComponent | ||
address="0xf4F6A83117a9D0a9cA3b9684DEDaBc69d56721D8" | ||
diameter={38} | ||
/> | ||
<Component | ||
style={ | ||
Object { | ||
"marginLeft": 15, | ||
} | ||
} | ||
> | ||
<Component | ||
style={ | ||
Object { | ||
"color": "#333333", | ||
"fontFamily": "Roboto", | ||
"fontSize": 18, | ||
"fontWeight": "400", | ||
} | ||
} | ||
> | ||
Account 2 | ||
</Component> | ||
<Component | ||
style={ | ||
Object { | ||
"color": "#999999", | ||
"fontFamily": "Roboto", | ||
"fontSize": 12, | ||
"fontWeight": "400", | ||
"paddingTop": 5, | ||
} | ||
} | ||
> | ||
0.4 | ||
ETH | ||
</Component> | ||
</Component> | ||
</TouchableOpacity> | ||
</Component> | ||
</SafeAreaView> | ||
selectedAddress="0xe7E125654064EEa56229f273dA586F10DF96B0a1" | ||
/> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment re: catching & reverting when interacting with the engine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case isn't necessary because if the engine blows up it will never change the index.