From 8bd35528dfeb9312e426bc29235da023b908c47d Mon Sep 17 00:00:00 2001 From: polstianka Date: Wed, 16 Oct 2024 03:40:28 -0700 Subject: [PATCH] bb x --- .idea/gradle.xml | 2 - apps/wallet/instance/app/build.gradle.kts | 2 - .../instance/app/src/main/AndroidManifest.xml | 112 +++++++++++++++++- .../src/main/ic_black_launcher-playstore.png | Bin 0 -> 11657 bytes .../src/main/ic_blue_launcher-playstore.png | Bin 0 -> 12187 bytes .../src/main/ic_green_launcher-playstore.png | Bin 0 -> 11508 bytes .../src/main/ic_orange_launcher-playstore.png | Bin 0 -> 11133 bytes .../src/main/ic_purple_launcher-playstore.png | Bin 0 -> 10952 bytes .../src/main/ic_red_launcher-playstore.png | Bin 0 -> 10531 bytes .../java/com/tonapps/tonkeeper/AppConfig.kt | 3 +- .../java/com/tonapps/tonkeeper/Environment.kt | 4 - .../tonkeeper/billing/BillingManager.kt | 36 ++++-- .../com/tonapps/tonkeeper/core/DevSettings.kt | 17 +++ .../tonapps/tonkeeper/core/LauncherIcon.kt | 54 +++++++++ .../manager/tonconnect/TonConnectManager.kt | 2 +- .../ui/component/coin/CoinEditText.kt | 96 ++++++++++++++- .../component/coin/drawable/SuffixDrawable.kt | 23 +++- .../battery/refill/BatteryRefillViewModel.kt | 4 +- .../tonkeeper/ui/screen/dev/DevScreen.kt | 58 +++++---- .../tonkeeper/ui/screen/dev/list/DeleteMe.kt | 2 + .../ui/screen/dev/list/launcher/Holder.kt | 35 ++++++ .../ui/screen/dev/list/launcher/Item.kt | 20 ++++ .../dev/list/launcher/LauncherAdapter.kt | 36 ++++++ .../tonkeeper/ui/screen/root/RootViewModel.kt | 2 +- .../screen/settings/main/SettingsViewModel.kt | 2 +- .../drawable/ic_black_launcher_foreground.xml | 24 ++++ .../drawable/ic_blue_launcher_foreground.xml | 24 ++++ .../drawable/ic_green_launcher_foreground.xml | 24 ++++ .../ic_orange_launcher_foreground.xml | 24 ++++ .../ic_purple_launcher_foreground.xml | 24 ++++ .../drawable/ic_red_launcher_foreground.xml | 24 ++++ .../app/src/main/res/layout/fragment_dev.xml | 66 ++++------- .../main/res/layout/fragment_stake_amount.xml | 1 - .../res/layout/fragment_stake_confirm.xml | 1 - .../res/layout/fragment_stake_details.xml | 1 - .../res/layout/fragment_unstake_amount.xml | 1 - .../res/layout/fragment_unstake_confirm.xml | 1 - .../main/res/layout/view_launcher_icon.xml | 28 +++++ .../mipmap-anydpi-v26/ic_black_launcher.xml | 5 + .../ic_black_launcher_round.xml | 5 + .../mipmap-anydpi-v26/ic_blue_launcher.xml | 5 + .../ic_blue_launcher_round.xml | 5 + .../mipmap-anydpi-v26/ic_green_launcher.xml | 5 + .../ic_green_launcher_round.xml | 5 + .../mipmap-anydpi-v26/ic_orange_launcher.xml | 5 + .../ic_orange_launcher_round.xml | 5 + .../mipmap-anydpi-v26/ic_purple_launcher.xml | 5 + .../ic_purple_launcher_round.xml | 5 + .../res/mipmap-anydpi-v26/ic_red_launcher.xml | 5 + .../ic_red_launcher_round.xml | 5 + .../res/mipmap-hdpi/ic_black_launcher.webp | Bin 0 -> 624 bytes .../mipmap-hdpi/ic_black_launcher_round.webp | Bin 0 -> 1480 bytes .../res/mipmap-hdpi/ic_blue_launcher.webp | Bin 0 -> 882 bytes .../mipmap-hdpi/ic_blue_launcher_round.webp | Bin 0 -> 2126 bytes .../res/mipmap-hdpi/ic_green_launcher.webp | Bin 0 -> 958 bytes .../mipmap-hdpi/ic_green_launcher_round.webp | Bin 0 -> 2834 bytes .../res/mipmap-hdpi/ic_orange_launcher.webp | Bin 0 -> 966 bytes .../mipmap-hdpi/ic_orange_launcher_round.webp | Bin 0 -> 2806 bytes .../res/mipmap-hdpi/ic_purple_launcher.webp | Bin 0 -> 932 bytes .../mipmap-hdpi/ic_purple_launcher_round.webp | Bin 0 -> 2598 bytes .../main/res/mipmap-hdpi/ic_red_launcher.webp | Bin 0 -> 958 bytes .../mipmap-hdpi/ic_red_launcher_round.webp | Bin 0 -> 2726 bytes .../res/mipmap-mdpi/ic_black_launcher.webp | Bin 0 -> 450 bytes .../mipmap-mdpi/ic_black_launcher_round.webp | Bin 0 -> 998 bytes .../res/mipmap-mdpi/ic_blue_launcher.webp | Bin 0 -> 666 bytes .../mipmap-mdpi/ic_blue_launcher_round.webp | Bin 0 -> 1356 bytes .../res/mipmap-mdpi/ic_green_launcher.webp | Bin 0 -> 720 bytes .../mipmap-mdpi/ic_green_launcher_round.webp | Bin 0 -> 1756 bytes .../res/mipmap-mdpi/ic_orange_launcher.webp | Bin 0 -> 708 bytes .../mipmap-mdpi/ic_orange_launcher_round.webp | Bin 0 -> 1762 bytes .../res/mipmap-mdpi/ic_purple_launcher.webp | Bin 0 -> 708 bytes .../mipmap-mdpi/ic_purple_launcher_round.webp | Bin 0 -> 1650 bytes .../main/res/mipmap-mdpi/ic_red_launcher.webp | Bin 0 -> 722 bytes .../mipmap-mdpi/ic_red_launcher_round.webp | Bin 0 -> 1678 bytes .../res/mipmap-xhdpi/ic_black_launcher.webp | Bin 0 -> 778 bytes .../mipmap-xhdpi/ic_black_launcher_round.webp | Bin 0 -> 2112 bytes .../res/mipmap-xhdpi/ic_blue_launcher.webp | Bin 0 -> 1146 bytes .../mipmap-xhdpi/ic_blue_launcher_round.webp | Bin 0 -> 2968 bytes .../res/mipmap-xhdpi/ic_green_launcher.webp | Bin 0 -> 1492 bytes .../mipmap-xhdpi/ic_green_launcher_round.webp | Bin 0 -> 3988 bytes .../res/mipmap-xhdpi/ic_orange_launcher.webp | Bin 0 -> 1462 bytes .../ic_orange_launcher_round.webp | Bin 0 -> 3928 bytes .../res/mipmap-xhdpi/ic_purple_launcher.webp | Bin 0 -> 1366 bytes .../ic_purple_launcher_round.webp | Bin 0 -> 3644 bytes .../res/mipmap-xhdpi/ic_red_launcher.webp | Bin 0 -> 1386 bytes .../mipmap-xhdpi/ic_red_launcher_round.webp | Bin 0 -> 3784 bytes .../res/mipmap-xxhdpi/ic_black_launcher.webp | Bin 0 -> 1190 bytes .../ic_black_launcher_round.webp | Bin 0 -> 3280 bytes .../res/mipmap-xxhdpi/ic_blue_launcher.webp | Bin 0 -> 1708 bytes .../mipmap-xxhdpi/ic_blue_launcher_round.webp | Bin 0 -> 4774 bytes .../res/mipmap-xxhdpi/ic_green_launcher.webp | Bin 0 -> 2202 bytes .../ic_green_launcher_round.webp | Bin 0 -> 6106 bytes .../res/mipmap-xxhdpi/ic_orange_launcher.webp | Bin 0 -> 2172 bytes .../ic_orange_launcher_round.webp | Bin 0 -> 6090 bytes .../res/mipmap-xxhdpi/ic_purple_launcher.webp | Bin 0 -> 2032 bytes .../ic_purple_launcher_round.webp | Bin 0 -> 5748 bytes .../res/mipmap-xxhdpi/ic_red_launcher.webp | Bin 0 -> 2000 bytes .../mipmap-xxhdpi/ic_red_launcher_round.webp | Bin 0 -> 5952 bytes .../res/mipmap-xxxhdpi/ic_black_launcher.webp | Bin 0 -> 1618 bytes .../ic_black_launcher_round.webp | Bin 0 -> 4772 bytes .../res/mipmap-xxxhdpi/ic_blue_launcher.webp | Bin 0 -> 2266 bytes .../ic_blue_launcher_round.webp | Bin 0 -> 6628 bytes .../res/mipmap-xxxhdpi/ic_green_launcher.webp | Bin 0 -> 2848 bytes .../ic_green_launcher_round.webp | Bin 0 -> 8586 bytes .../mipmap-xxxhdpi/ic_orange_launcher.webp | Bin 0 -> 2920 bytes .../ic_orange_launcher_round.webp | Bin 0 -> 8598 bytes .../mipmap-xxxhdpi/ic_purple_launcher.webp | Bin 0 -> 2678 bytes .../ic_purple_launcher_round.webp | Bin 0 -> 8074 bytes .../res/mipmap-xxxhdpi/ic_red_launcher.webp | Bin 0 -> 2684 bytes .../mipmap-xxxhdpi/ic_red_launcher_round.webp | Bin 0 -> 8380 bytes .../values/ic_black_launcher_background.xml | 4 + .../values/ic_blue_launcher_background.xml | 4 + .../values/ic_green_launcher_background.xml | 4 + .../values/ic_orange_launcher_background.xml | 4 + .../values/ic_purple_launcher_background.xml | 4 + .../res/values/ic_red_launcher_background.xml | 4 + apps/wallet/instance/main/build.gradle.kts | 2 + apps/wallet/instance/x/.gitignore | 3 - apps/wallet/instance/x/build.gradle.kts | 56 --------- apps/wallet/instance/x/google-services.json | 48 -------- apps/wallet/instance/x/proguard-rules.pro | 30 ----- .../instance/x/src/main/AndroidManifest.xml | 1 - baselineprofile/x/.gitignore | 1 - baselineprofile/x/build.gradle.kts | 33 ------ .../x/src/main/AndroidManifest.xml | 1 - .../BaselineProfileGenerator.kt | 24 ---- .../com/baselineprofile/StartupBenchmarks.kt | 44 ------- settings.gradle.kts | 2 - .../src/main/java/uikit/widget/ToastView.kt | 24 ++-- 129 files changed, 746 insertions(+), 360 deletions(-) create mode 100644 apps/wallet/instance/app/src/main/ic_black_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/ic_blue_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/ic_green_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/ic_orange_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/ic_purple_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/ic_red_launcher-playstore.png create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/core/DevSettings.kt create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/core/LauncherIcon.kt create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/ui/screen/dev/list/DeleteMe.kt create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/ui/screen/dev/list/launcher/Holder.kt create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/ui/screen/dev/list/launcher/Item.kt create mode 100644 apps/wallet/instance/app/src/main/java/com/tonapps/tonkeeper/ui/screen/dev/list/launcher/LauncherAdapter.kt create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_black_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_blue_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_green_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_orange_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_purple_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/drawable/ic_red_launcher_foreground.xml create mode 100644 apps/wallet/instance/app/src/main/res/layout/view_launcher_icon.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_black_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_black_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_blue_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_blue_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_green_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_green_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_orange_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_orange_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_purple_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_purple_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_red_launcher.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-anydpi-v26/ic_red_launcher_round.xml create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_black_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_black_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_blue_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_blue_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_green_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_green_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_orange_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_orange_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_purple_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_purple_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_red_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-hdpi/ic_red_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_black_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_black_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_blue_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_blue_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_green_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_green_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_orange_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_orange_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_purple_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_purple_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_red_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-mdpi/ic_red_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_black_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_black_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_blue_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_blue_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_green_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_green_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_orange_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_orange_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_purple_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_purple_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_red_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xhdpi/ic_red_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_black_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_black_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_blue_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_blue_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_green_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_green_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_orange_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_orange_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_purple_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_purple_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_red_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxhdpi/ic_red_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_black_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_black_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_blue_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_blue_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_green_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_green_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_orange_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_orange_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_purple_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_purple_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_red_launcher.webp create mode 100644 apps/wallet/instance/app/src/main/res/mipmap-xxxhdpi/ic_red_launcher_round.webp create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_black_launcher_background.xml create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_blue_launcher_background.xml create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_green_launcher_background.xml create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_orange_launcher_background.xml create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_purple_launcher_background.xml create mode 100644 apps/wallet/instance/app/src/main/res/values/ic_red_launcher_background.xml delete mode 100644 apps/wallet/instance/x/.gitignore delete mode 100644 apps/wallet/instance/x/build.gradle.kts delete mode 100644 apps/wallet/instance/x/google-services.json delete mode 100644 apps/wallet/instance/x/proguard-rules.pro delete mode 100644 apps/wallet/instance/x/src/main/AndroidManifest.xml delete mode 100644 baselineprofile/x/.gitignore delete mode 100644 baselineprofile/x/build.gradle.kts delete mode 100644 baselineprofile/x/src/main/AndroidManifest.xml delete mode 100644 baselineprofile/x/src/main/java/com/baselineprofile/BaselineProfileGenerator.kt delete mode 100644 baselineprofile/x/src/main/java/com/baselineprofile/StartupBenchmarks.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 2db33eb80..034dcfa89 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -50,11 +50,9 @@