forked from OneKeyHQ/app-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Merge commit '48ab7d0f53a868e926aacd5cb8be5431e43ead05' into tx_…
…detail * commit '48ab7d0f53a868e926aacd5cb8be5431e43ead05': (39 commits) OK-7960, OK-7789: add react-native-fast-image (OneKeyHQ#590) feat: error boundary message panel (OneKeyHQ#587) style: set Select.Option default background to undefined (OneKeyHQ#588) Update readme.md fix: splash screen OK-8127 OK-8129 (OneKeyHQ#591) OK-8041: improve withEnableAuthentication defaultValue (OneKeyHQ#589) OK-7814 `ChangeLogModal` component and `Modal` maxHeight prop (OneKeyHQ#586) OK-7527: fix check fee (OneKeyHQ#542) Feat discover OK-7805 OK-8054 (OneKeyHQ#584) feat: swap beta (OneKeyHQ#581) fix: finalize tx status timeout bug. (OneKeyHQ#585) feat: EVM Dapp Sign message flow (OneKeyHQ#576) OK-8050: fix Qcode bgColor (OneKeyHQ#583) Update readme.md Update readme.md fix: 2 problems related to Toast Component. One is its usage in Modal… (OneKeyHQ#579) chore: upgrade blockchain-libs (OneKeyHQ#582) fix: rsync app js-sdk missing files (OneKeyHQ#580) fix: electron production build issue (OneKeyHQ#578) fix: import wallet password bug OK-7755 (OneKeyHQ#568) ...
- Loading branch information
Showing
211 changed files
with
4,642 additions
and
3,759 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright ONEKEY LIMITED (Hong Kong) All rights reserved. | ||
|
||
You acknowledge and agree that ONEKEY LIMITED (Hong Kong) (“ONEKEY LIMITED (Hong Kong)”) (or ONEKEY LIMITED (Hong Kong)’s licensors) own all legal right, title and interest in and to the work, software, application, source code, documentation and any other documents in this repository (collectively, the “Program”), including any intellectual property rights which subsist in the Program (whether those rights happen to be registered or not, and wherever in the world those rights may exist), whether in source code or any other form. | ||
|
||
Subject to the limited license below, you may not (and you may not permit anyone else to) distribute, publish, copy, modify, merge, combine with another program, create derivative works of, reverse engineer, decompile or otherwise attempt to extract the source code of, the Program or any part thereof, except that you may contribute to this repository. | ||
|
||
### You are granted a non-exclusive, non-transferable, non-sublicensable license to distribute, publish, copy, modify, merge, combine with another program or create derivative works of the Program (such resulting program, collectively, the “Resulting Program”) solely for Non-Commercial Use as long as you: | ||
|
||
1. Give prominent notice (“Notice”) with each copy of the Resulting Program that the Program is used in the Resulting Program and that the Program is the copyright of ONEKEY LIMITED (Hong Kong); and | ||
|
||
2. Subject the Resulting Program and any distribution, publication, copy, modification, merger therewith, combination with another program or derivative works thereof to the same Notice requirement and Non-Commercial Use restriction set forth herein. | ||
|
||
### “Non-Commercial Use” means each use as described in clauses (1)-(3) below, as reasonably determined by ONEKEY LIMITED (Hong Kong) in its sole discretion: | ||
|
||
1. Personal use for research, personal study, private entertainment, hobby projects or amateur pursuits, in each case without any anticipated commercial application; | ||
|
||
2. Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization or government institution; or | ||
3. The number of monthly active users of the Resulting Program across all versions thereof and platforms globally do not exceed 10,000 at any time. | ||
|
||
### You will not use any trade mark, service mark, trade name, logo of ONEKEY LIMITED (Hong Kong) or any other company or organization in a way that is likely or intended to cause confusion about the owner or authorized user of such marks, names or logos. | ||
|
||
If you have any questions, comments or interest in pursuing any other use cases, please reach out to us at hi@onekey.so |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
function createEjsParams({ filename = '', platform = '', browser = '' }) { | ||
return { | ||
filename, | ||
platform, | ||
browser, | ||
}; | ||
} | ||
|
||
function createInterpolateParams({ filename, platform }) { | ||
return { | ||
WEB_PUBLIC_URL: '', | ||
WEB_TITLE: '', | ||
LANG_ISO_CODE: '', | ||
// These are for legacy ejected web/index.html files | ||
NO_SCRIPT: `<form action="" style="background-color:#fff;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;"><div style="font-size:18px;font-family:Helvetica,sans-serif;line-height:24px;margin:10%;width:80%;"> <p>Oh no! It looks like JavaScript is not enabled in your browser.</p> <p style="margin:20px 0;"> <button type="submit" style="background-color: #4630EB; border-radius: 100px; border: none; box-shadow: none; color: #fff; cursor: pointer; font-weight: bold; line-height: 20px; padding: 6px 16px;">Reload</button> </p> </div> </form>`, | ||
ROOT_ID: 'root', | ||
}; | ||
} | ||
module.exports = { | ||
createEjsParams, | ||
createInterpolateParams, | ||
}; |
5 changes: 5 additions & 0 deletions
5
development/module-resolver/react-native-fast-image-mock/index.js
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
Platform: { | ||
OS: 'web', | ||
}, | ||
}; |
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
Binary file modified
BIN
+45 KB
(170%)
packages/app/android/app/src/main/res/drawable-hdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.6 KB
(87%)
packages/app/android/app/src/main/res/drawable-mdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+113 KB
(290%)
packages/app/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+299 KB
(590%)
packages/app/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-60.6 KB
packages/app/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png
Binary file not shown.
5 changes: 1 addition & 4 deletions
5
packages/app/android/app/src/main/res/drawable/splashscreen.xml
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,7 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@color/splashscreen_background"/> | ||
<item> | ||
<bitmap android:gravity="center" android:src="@drawable/splashscreen_image"/> | ||
</item> | ||
<item android:drawable="@color/splashscreen_background" /> | ||
</layer-list> |
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,4 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<resources> | ||
<color name="splashscreen_background">#262631</color> | ||
<color name="splashscreen_background">#FFFFFF</color> | ||
</resources> |
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,6 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<resources> | ||
<string name="app_name">OneKey Wallet</string> | ||
<string name="expo_splash_screen_resize_mode" translatable="false">contain</string> | ||
<string name="expo_splash_screen_status_bar_translucent" translatable="false">true</string> | ||
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string> | ||
</resources> |
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 was deleted.
Oops, something went wrong.
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.