-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(EWM-264): account balances (#474) Co-authored-by: Egor Komarov <egor.komarov@bf.rocks> * refactor: Remove language menu (#476) * app-deploy.yaml on push branches test * Add branch-workflow.yaml * melos.yaml add deploy_ios, deploy_android, deploy_fad commands * Update README.md * Rename to deploy_fad_ios and deploy_fad_android * Move get SENTRY_DSN to build.sh * build.sh deploy to store only from main * app-deploy.yaml store job check branch to deploy to stores * Hide language item from menu in profile * Update build flow * Update Readme Deploy from local machine section * Fix android-deploy orders * fix: Ewm 250 (#478) * EWM-250. Fix add seed * PopScope replace onPopInvoked -> onPopInvokedWithResult + addPostFrameCallback * Remove todo * add check didPop in onPopInvokedWithResult * Fix create new seed from profile * Fix analyzer issue * SeedPhraseModel --------- Co-authored-by: Egor Komarov <Odrin@users.noreply.github.com> Co-authored-by: Egor Komarov <egor.komarov@bf.rocks>
- Loading branch information
1 parent
c2563c0
commit ef8be13
Showing
35 changed files
with
580 additions
and
335 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Check branch | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
prevent-dev-merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check source branch | ||
run: | | ||
if [[ "${{ github.event.pull_request.head.ref }}" == "dev" ]]; then | ||
echo "Merging from 'dev' to 'main' is not allowed." | ||
exit 1 | ||
else | ||
echo "Merge allowed." | ||
fi |
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 @@ | ||
class SeedPhraseModel { | ||
SeedPhraseModel(String? phrase) : phrase = phrase ?? '' { | ||
_words = null; | ||
} | ||
|
||
SeedPhraseModel.fromWords(List<String> list) { | ||
phrase = list.join(' '); | ||
_words = list; | ||
} | ||
|
||
SeedPhraseModel.empty() : this(null); | ||
|
||
late final String phrase; | ||
late final List<String> words = _words ?? phrase.split(' '); | ||
|
||
late final wordsCount = words.length; | ||
|
||
late final isEmpty = phrase.isEmpty; | ||
late final isNotEmpty = !isEmpty; | ||
|
||
late final List<String>? _words; | ||
} |
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
Oops, something went wrong.