diff --git a/BRAND.md b/BRAND.md new file mode 100644 index 0000000..4396a3a --- /dev/null +++ b/BRAND.md @@ -0,0 +1,89 @@ +# Pezkuwi Wallet — Brand Rules + +This wallet must stay aligned with the **Pezkuwi brand book**. The canonical, +ecosystem-wide source of truth lives on the wiki: +**https://wiki.pezkuwichain.io/brand/**. This file is the wallet-specific, +enforceable summary — read it before changing any colors, fonts, or imagery. + +## The one hard rule + +> **Only the Kurdistan palette (kesk green, sor red, zer gold, fire orange) plus +> navy/neutral are allowed. Pink, magenta and purple are FORBIDDEN — anywhere.** + +This applies to XML colors, Compose `Color(0x…)` literals, vector drawables, +gradients, **and raster images** (PNG/WebP banners and illustrations). + +## Palette (source of truth) + +| Token | Hex | | Token | Hex | +|-------|-----|-|-------|-----| +| kesk (primary) | `#009639` | | base bg | `#05081C` | +| kesk-700 | `#017A2F` | | screen bg | `#08090E` | +| positive | `#2FC864` | | elevated | `#181920` | +| sor (red) | `#E2231A` | | nav | `#0F111A` | +| negative | `#E53450` | | text primary | `#E0FFFFFF` | +| zer (gold) | `#FDB813` | | text secondary | `#7AFFFFFF` | +| warning | `#EBC50A` | | text tertiary | `#52FFFFFF` | +| fire (orange) | `#FF7A00` | | periwinkle tint | `#999EC7` @ 10/16/24% | +| info | `#2AB0F2` | | | | + +## Typography + +- **Space Grotesk** — display: balances, screen titles, large numbers +- **Plus Jakarta Sans** — body / UI text +- **JetBrains Mono** — addresses, hashes, block numbers + +All three are OFL-licensed and cover Latin-ext / Turkish / Kurdish Kurmancî +glyphs. Fonts live in `common/src/main/res/font/`; the theme maps them via +`fontRegular/SemiBold/Bold/ExtraBold/ExtraLight` in `common/.../values/themes.xml`. + +## Brand mark & imagery + +- The brand mark is the **Newroz flame** (`nevroz-fire-*`). Do **not** use the + retired Roj-rosette mark or a Kurdistan-map logo anywhere. +- First-launch splash uses the Newroz flame (`ic_loading_screen_logo`). +- Onboarding hero uses the **Global United States of Pezkuwi** infographic. +- Pull chain/token/dapp icons from `pezkuwichain/pezkuwi-wallet-utils`, don't + invent art. Keep one outline icon set (2px stroke, round caps). + +## Where colors are defined + +- Named colors: `common/src/main/res/values/colors.xml` +- Theme/type: `common/src/main/res/values/themes.xml`, `styles.xml` + +## PR checklist (brand) + +- [ ] No magenta/purple/pink in `colors.xml` (`#BD387F`, `#661D78`, `#443679`, `#FF48A5`, …). +- [ ] No `purple`/`magenta`/`pink`-named drawables or Compose color literals. +- [ ] Raster assets scanned for pink/magenta pixels (see snippet below); none above noise. +- [ ] New text uses the brand font roles; addresses use JetBrains Mono. +- [ ] Any new mark is the Newroz flame, not a map/rosette. + +Raster pink scan (run from repo root): + +```python +# python3 with Pillow +from PIL import Image; import glob +def pink(r,g,b): return r>150 and g<110 and b>120 and (r-g)>70 +for f in glob.glob('**/res/drawable*/*.png',recursive=True)+glob.glob('**/res/drawable*/*.webp',recursive=True): + if '/build/' in f: continue + im=Image.open(f).convert('RGBA'); im.thumbnail((96,96)); px=im.load(); w,h=im.size; c=t=0 + for y in range(h): + for x in range(w): + r,g,b,a=px[x,y] + if a<30: continue + t+=1; c+=pink(r,g,b) + if t and c/t>0.02: print(round(c/t*100,1),'%',f) +``` + +> Exception: third-party trademark logos (e.g. `ic_powered_by_oak`, OAK Network) +> must **not** be recolored — leave them as the owner ships them. + +## Licensing note (important) + +This app is a fork of **Nova Wallet**, licensed under **Apache-2.0**. Apache-2.0 +lets us fork, rebrand and ship — **but you must KEEP `LICENSE` and `NOTICE`** and +their attributions, and state changes. Do **not** delete the attribution (that +would breach the license). Removing Nova's *trademark* (name/logo) from the UI is +required; preserving the *copyright notice* is also required. The package name +`io.novafoundation.nova.app` stays (Play Store identity; not a trademark issue). diff --git a/CHANGELOG_PEZKUWI.md b/CHANGELOG_PEZKUWI.md index 5acfdc0..4b4cf64 100644 --- a/CHANGELOG_PEZKUWI.md +++ b/CHANGELOG_PEZKUWI.md @@ -5,7 +5,30 @@ Context sıfırlanması durumunda referans olarak kullanılmalıdır. --- -## DEBUG KODLARI (Production öncesi KALDIRILMALI) +## v1.1.0 — Brand-book UI redesign (2026-06-15) + +Görsel kimlik Pezkuwi marka kitabına hizalandı; iş mantığına dokunulmadı. + +- **Renkler:** colors.xml'deki yasak magenta/mor değerleri marka renkleriyle değiştirildi + (isimler korundu). Raster illustration'lardaki pembe/mor pikseller (siri, networks + banner, no-added-networks, hardware import, tinder-gov, crowdloan) kesk/teal'e retint + edildi. Üçüncü-taraf OAK logosuna dokunulmadı. +- **Tipografi:** Public Sans → Space Grotesk (display) + Plus Jakarta Sans (gövde) + + JetBrains Mono (adres/hash). TR + Kurmancî glifleri doğrulandı. +- **Splash:** Kurdistan-haritalı logo → Newroz alevi marka işareti. +- **Onboarding:** welcome hero → "Global United States of Pezkuwi" infografiği (tam/kırpılmadan). +- **Hijyen:** production-öncesi debug kodları kaldırıldı (FeeLoader user-facing DEBUG mesajı, + RuntimeFactory diagnostics). Brand kuralları için `BRAND.md` eklendi. + +--- + +## DEBUG KODLARI — ✅ TEMİZLENDİ (2026-06-15, v1.1.0 öncesi) + +> Aşağıdaki tüm debug kodları production'a çıkmadan kaldırıldı: +> #1 FeeLoaderV2Provider (kullanıcıya görünen DEBUG hata mesajı) ve #2 RuntimeFactory +> (`lastDiagnostics` + test referansı) bu sürümde temizlendi; #3–#6 zaten kaldırılmıştı. +> Doğrulama: repoda `"DEBUG:` literali / `lastDiagnostics` referansı kalmadı. +> (Aşağıdaki kayıtlar tarihsel referans içindir.) ### 1. FeeLoaderV2Provider.kt - Hata mesajı gösterimi **Dosya:** `feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/presentation/mixin/fee/v2/FeeLoaderV2Provider.kt` diff --git a/app/src/androidTest/java/io/novafoundation/nova/PezkuwiLiveTransferTest.kt b/app/src/androidTest/java/io/novafoundation/nova/PezkuwiLiveTransferTest.kt index b79b568..e4ef355 100644 --- a/app/src/androidTest/java/io/novafoundation/nova/PezkuwiLiveTransferTest.kt +++ b/app/src/androidTest/java/io/novafoundation/nova/PezkuwiLiveTransferTest.kt @@ -229,9 +229,6 @@ class PezkuwiLiveTransferTest : BaseIntegrationTest() { // Just log the extension names - type access might be restricted Log.d("LiveTransferTest", "Signed extensions count: ${extrinsicMeta.signedExtensions.size}") - // Log the extrinsic address type if available - Log.d("LiveTransferTest", "RuntimeFactory diagnostics: ${io.novafoundation.nova.runtime.multiNetwork.runtime.RuntimeFactory.lastDiagnostics}") - println("Type resolution results:\n${results.joinToString("\n")}") } diff --git a/build.gradle b/build.gradle index 58711f6..afd8e6f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { // App version - versionName = '1.0.4' + versionName = '1.1.0' versionCode = 1 applicationId = "io.pezkuwichain.wallet" diff --git a/common/src/main/res/drawable-hdpi/crowdloan_banner_image.png b/common/src/main/res/drawable-hdpi/crowdloan_banner_image.png index a135cb0..8be4de2 100644 Binary files a/common/src/main/res/drawable-hdpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-hdpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-hdpi/ic_create_wallet_background.png b/common/src/main/res/drawable-hdpi/ic_create_wallet_background.png deleted file mode 100644 index 6d169a1..0000000 Binary files a/common/src/main/res/drawable-hdpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-hdpi/ic_import_option_hardware.png b/common/src/main/res/drawable-hdpi/ic_import_option_hardware.png index 9df359f..8361890 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-hdpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp index ebfefc2..b32ae91 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-hdpi/ic_networks_banner_image.png b/common/src/main/res/drawable-hdpi/ic_networks_banner_image.png index 1d96182..ff77c9f 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-hdpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-hdpi/ic_no_added_networks.png b/common/src/main/res/drawable-hdpi/ic_no_added_networks.png index 9e77d54..fa9bbc7 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_no_added_networks.png and b/common/src/main/res/drawable-hdpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-hdpi/ic_pink_siri.png b/common/src/main/res/drawable-hdpi/ic_pink_siri.png index c474486..afd9385 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_pink_siri.png and b/common/src/main/res/drawable-hdpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-hdpi/tinder_gov.png b/common/src/main/res/drawable-hdpi/tinder_gov.png index b5d5d62..033861d 100644 Binary files a/common/src/main/res/drawable-hdpi/tinder_gov.png and b/common/src/main/res/drawable-hdpi/tinder_gov.png differ diff --git a/common/src/main/res/drawable-ldpi/crowdloan_banner_image.png b/common/src/main/res/drawable-ldpi/crowdloan_banner_image.png index 01208dc..a0c7c18 100644 Binary files a/common/src/main/res/drawable-ldpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-ldpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-ldpi/ic_create_wallet_background.png b/common/src/main/res/drawable-ldpi/ic_create_wallet_background.png deleted file mode 100644 index 6cfb511..0000000 Binary files a/common/src/main/res/drawable-ldpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-ldpi/ic_import_option_hardware.png b/common/src/main/res/drawable-ldpi/ic_import_option_hardware.png index adb194f..b1d2f4f 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-ldpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp index 47a5855..c4a7929 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-ldpi/ic_networks_banner_image.png b/common/src/main/res/drawable-ldpi/ic_networks_banner_image.png index 7c277ce..db1c586 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-ldpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-ldpi/ic_no_added_networks.png b/common/src/main/res/drawable-ldpi/ic_no_added_networks.png index e093fa2..4f7d781 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_no_added_networks.png and b/common/src/main/res/drawable-ldpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-ldpi/ic_pink_siri.png b/common/src/main/res/drawable-ldpi/ic_pink_siri.png index 9040236..b5692ef 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_pink_siri.png and b/common/src/main/res/drawable-ldpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-ldpi/tinder_gov.png b/common/src/main/res/drawable-ldpi/tinder_gov.png index 7acb6a1..f66b203 100644 Binary files a/common/src/main/res/drawable-ldpi/tinder_gov.png and b/common/src/main/res/drawable-ldpi/tinder_gov.png differ diff --git a/common/src/main/res/drawable-mdpi/crowdloan_banner_image.png b/common/src/main/res/drawable-mdpi/crowdloan_banner_image.png index efe9348..446952d 100644 Binary files a/common/src/main/res/drawable-mdpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-mdpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-mdpi/ic_create_wallet_background.png b/common/src/main/res/drawable-mdpi/ic_create_wallet_background.png deleted file mode 100644 index 8c382fd..0000000 Binary files a/common/src/main/res/drawable-mdpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-mdpi/ic_import_option_hardware.png b/common/src/main/res/drawable-mdpi/ic_import_option_hardware.png index 7429b53..addd008 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-mdpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp index d337b22..446c969 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-mdpi/ic_networks_banner_image.png b/common/src/main/res/drawable-mdpi/ic_networks_banner_image.png index 7ce3566..8e5f12a 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-mdpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-mdpi/ic_no_added_networks.png b/common/src/main/res/drawable-mdpi/ic_no_added_networks.png index 465f316..a645a17 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_no_added_networks.png and b/common/src/main/res/drawable-mdpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-mdpi/ic_pink_siri.png b/common/src/main/res/drawable-mdpi/ic_pink_siri.png index 6a76d3d..78f756d 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_pink_siri.png and b/common/src/main/res/drawable-mdpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-mdpi/tinder_gov.png b/common/src/main/res/drawable-mdpi/tinder_gov.png index afadf98..db074a7 100644 Binary files a/common/src/main/res/drawable-mdpi/tinder_gov.png and b/common/src/main/res/drawable-mdpi/tinder_gov.png differ diff --git a/common/src/main/res/drawable-nodpi/ic_create_wallet_background.webp b/common/src/main/res/drawable-nodpi/ic_create_wallet_background.webp new file mode 100644 index 0000000..bca43c6 Binary files /dev/null and b/common/src/main/res/drawable-nodpi/ic_create_wallet_background.webp differ diff --git a/common/src/main/res/drawable-xhdpi/crowdloan_banner_image.png b/common/src/main/res/drawable-xhdpi/crowdloan_banner_image.png index 7b74e23..f2a6a94 100644 Binary files a/common/src/main/res/drawable-xhdpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-xhdpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-xhdpi/ic_create_wallet_background.png b/common/src/main/res/drawable-xhdpi/ic_create_wallet_background.png deleted file mode 100644 index dee51b1..0000000 Binary files a/common/src/main/res/drawable-xhdpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-xhdpi/ic_import_option_hardware.png b/common/src/main/res/drawable-xhdpi/ic_import_option_hardware.png index 86848fc..edc36b0 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-xhdpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp index 5e859fa..2a054e7 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xhdpi/ic_networks_banner_image.png b/common/src/main/res/drawable-xhdpi/ic_networks_banner_image.png index 6674a1c..9d1f914 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-xhdpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-xhdpi/ic_no_added_networks.png b/common/src/main/res/drawable-xhdpi/ic_no_added_networks.png index d190120..b2a6bc9 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_no_added_networks.png and b/common/src/main/res/drawable-xhdpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-xhdpi/ic_pink_siri.png b/common/src/main/res/drawable-xhdpi/ic_pink_siri.png index 419fe78..ece05c2 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_pink_siri.png and b/common/src/main/res/drawable-xhdpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-xhdpi/tinder_gov.png b/common/src/main/res/drawable-xhdpi/tinder_gov.png index 7a0ca18..36ebff1 100644 Binary files a/common/src/main/res/drawable-xhdpi/tinder_gov.png and b/common/src/main/res/drawable-xhdpi/tinder_gov.png differ diff --git a/common/src/main/res/drawable-xxhdpi/crowdloan_banner_image.png b/common/src/main/res/drawable-xxhdpi/crowdloan_banner_image.png index 683434f..8f02f27 100644 Binary files a/common/src/main/res/drawable-xxhdpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-xxhdpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_create_wallet_background.png b/common/src/main/res/drawable-xxhdpi/ic_create_wallet_background.png deleted file mode 100644 index d88cc92..0000000 Binary files a/common/src/main/res/drawable-xxhdpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_import_option_hardware.png b/common/src/main/res/drawable-xxhdpi/ic_import_option_hardware.png index ec40caa..8c2dbd4 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-xxhdpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp index 808ab0a..6467cdd 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_networks_banner_image.png b/common/src/main/res/drawable-xxhdpi/ic_networks_banner_image.png index b9fd47d..f9913d3 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-xxhdpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_no_added_networks.png b/common/src/main/res/drawable-xxhdpi/ic_no_added_networks.png index d30010e..fc1abd9 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_no_added_networks.png and b/common/src/main/res/drawable-xxhdpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_pink_siri.png b/common/src/main/res/drawable-xxhdpi/ic_pink_siri.png index f22ee4a..f321977 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_pink_siri.png and b/common/src/main/res/drawable-xxhdpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-xxhdpi/tinder_gov.png b/common/src/main/res/drawable-xxhdpi/tinder_gov.png index 00ca4e1..3f70880 100644 Binary files a/common/src/main/res/drawable-xxhdpi/tinder_gov.png and b/common/src/main/res/drawable-xxhdpi/tinder_gov.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/crowdloan_banner_image.png b/common/src/main/res/drawable-xxxhdpi/crowdloan_banner_image.png index 828683a..8be7898 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/crowdloan_banner_image.png and b/common/src/main/res/drawable-xxxhdpi/crowdloan_banner_image.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_create_wallet_background.png b/common/src/main/res/drawable-xxxhdpi/ic_create_wallet_background.png deleted file mode 100644 index 9632fd9..0000000 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_create_wallet_background.png and /dev/null differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_import_option_hardware.png b/common/src/main/res/drawable-xxxhdpi/ic_import_option_hardware.png index 5bd5c43..e38ddf9 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_import_option_hardware.png and b/common/src/main/res/drawable-xxxhdpi/ic_import_option_hardware.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp index a4d92a5..aa51f2a 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_networks_banner_image.png b/common/src/main/res/drawable-xxxhdpi/ic_networks_banner_image.png index ee5f8e0..e700ee8 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_networks_banner_image.png and b/common/src/main/res/drawable-xxxhdpi/ic_networks_banner_image.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_no_added_networks.png b/common/src/main/res/drawable-xxxhdpi/ic_no_added_networks.png index c0f4ee0..eba0e8f 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_no_added_networks.png and b/common/src/main/res/drawable-xxxhdpi/ic_no_added_networks.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_pink_siri.png b/common/src/main/res/drawable-xxxhdpi/ic_pink_siri.png index ceb763b..559ead7 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_pink_siri.png and b/common/src/main/res/drawable-xxxhdpi/ic_pink_siri.png differ diff --git a/common/src/main/res/drawable-xxxhdpi/tinder_gov.png b/common/src/main/res/drawable-xxxhdpi/tinder_gov.png index 471ec5f..9fd5ff1 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/tinder_gov.png and b/common/src/main/res/drawable-xxxhdpi/tinder_gov.png differ diff --git a/common/src/main/res/font/jetbrains_mono_regular.ttf b/common/src/main/res/font/jetbrains_mono_regular.ttf new file mode 100644 index 0000000..711830e Binary files /dev/null and b/common/src/main/res/font/jetbrains_mono_regular.ttf differ diff --git a/common/src/main/res/font/plus_jakarta_sans_light.ttf b/common/src/main/res/font/plus_jakarta_sans_light.ttf new file mode 100644 index 0000000..dd06901 Binary files /dev/null and b/common/src/main/res/font/plus_jakarta_sans_light.ttf differ diff --git a/common/src/main/res/font/plus_jakarta_sans_regular.ttf b/common/src/main/res/font/plus_jakarta_sans_regular.ttf new file mode 100644 index 0000000..cb87445 Binary files /dev/null and b/common/src/main/res/font/plus_jakarta_sans_regular.ttf differ diff --git a/common/src/main/res/font/plus_jakarta_sans_semi_bold.ttf b/common/src/main/res/font/plus_jakarta_sans_semi_bold.ttf new file mode 100644 index 0000000..c12d4b0 Binary files /dev/null and b/common/src/main/res/font/plus_jakarta_sans_semi_bold.ttf differ diff --git a/common/src/main/res/font/space_grotesk_bold.ttf b/common/src/main/res/font/space_grotesk_bold.ttf new file mode 100644 index 0000000..f8eb245 Binary files /dev/null and b/common/src/main/res/font/space_grotesk_bold.ttf differ diff --git a/common/src/main/res/values/colors.xml b/common/src/main/res/values/colors.xml index 1a877c5..873bec1 100644 --- a/common/src/main/res/values/colors.xml +++ b/common/src/main/res/values/colors.xml @@ -1,4 +1,21 @@ + #eeeeee @@ -44,11 +61,13 @@ #52FFFFFF #A3FFFFFF - #BD387F + + #009639 #FF7A00 + #00072E - #661D78 + #017A2F #E0FFFFFF @@ -70,12 +89,12 @@ #181920 #1A999EC7 #3D999EC7 - #5205081C #291F78FF #1A999EC7 #29999EC7 - #443679 + + #3D999EC7 #1A999EC7 #3D08090E #5208090E @@ -109,7 +128,8 @@ #1A999EC7 #181920 - #353D67 + + #1F2A4D #101636 @@ -162,4 +182,4 @@ #454968 #2FC864 #E53450 - \ No newline at end of file + diff --git a/common/src/main/res/values/styles.xml b/common/src/main/res/values/styles.xml index ea25f4c..b88d246 100644 --- a/common/src/main/res/values/styles.xml +++ b/common/src/main/res/values/styles.xml @@ -245,7 +245,7 @@ diff --git a/common/src/main/res/values/themes.xml b/common/src/main/res/values/themes.xml index 8286e5b..174683d 100644 --- a/common/src/main/res/values/themes.xml +++ b/common/src/main/res/values/themes.xml @@ -30,12 +30,12 @@ @dimen/text_size_subheadline - - @font/public_sans_semi_bold - @font/public_sans_bold - @font/public_sans_extra_bold - @font/public_sans_regular - @font/public_sans_extra_light + + @font/plus_jakarta_sans_semi_bold + @font/space_grotesk_bold + @font/space_grotesk_bold + @font/plus_jakarta_sans_regular + @font/plus_jakarta_sans_light false diff --git a/feature-onboarding-impl/src/main/res/layout/fragment_welcome.xml b/feature-onboarding-impl/src/main/res/layout/fragment_welcome.xml index 5702981..e52d25a 100644 --- a/feature-onboarding-impl/src/main/res/layout/fragment_welcome.xml +++ b/feature-onboarding-impl/src/main/res/layout/fragment_welcome.xml @@ -15,7 +15,7 @@ android:id="@+id/logoImg" android:layout_width="match_parent" android:layout_height="match_parent" - android:scaleType="centerCrop" + android:scaleType="fitCenter" android:src="@drawable/ic_create_wallet_background" app:layout_constraintBottom_toTopOf="@+id/welcomeCreateWalletButton" app:layout_constraintEnd_toEndOf="parent" diff --git a/feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/presentation/mixin/fee/v2/FeeLoaderV2Provider.kt b/feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/presentation/mixin/fee/v2/FeeLoaderV2Provider.kt index bb7ee62..0fe2bd5 100644 --- a/feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/presentation/mixin/fee/v2/FeeLoaderV2Provider.kt +++ b/feature-wallet-api/src/main/java/io/novafoundation/nova/feature_wallet_api/presentation/mixin/fee/v2/FeeLoaderV2Provider.kt @@ -160,15 +160,11 @@ internal class FeeLoaderV2Provider( fee.emit(FeeStatus.Error) - // Show detailed error in retry dialog with runtime diagnostics - val diagnostics = try { - io.novafoundation.nova.runtime.multiNetwork.runtime.RuntimeFactory.lastDiagnostics - } catch (e: Exception) { "N/A" } retryEvent.postValue( Event( RetryPayload( title = resourceManager.getString(R.string.choose_amount_network_error), - message = "DEBUG: $errorMsg | Runtime: $diagnostics", + message = resourceManager.getString(R.string.choose_amount_error_fee), onRetry = { loadFee(feeConstructor) }, onCancel = { } ) diff --git a/runtime/src/main/java/io/novafoundation/nova/runtime/multiNetwork/runtime/RuntimeFactory.kt b/runtime/src/main/java/io/novafoundation/nova/runtime/multiNetwork/runtime/RuntimeFactory.kt index a6eba77..8d70d04 100644 --- a/runtime/src/main/java/io/novafoundation/nova/runtime/multiNetwork/runtime/RuntimeFactory.kt +++ b/runtime/src/main/java/io/novafoundation/nova/runtime/multiNetwork/runtime/RuntimeFactory.kt @@ -47,10 +47,6 @@ class RuntimeFactory( private val gson: Gson, private val concurrencyLimit: Int = 1 ) { - companion object { - @Volatile - var lastDiagnostics: String = "not yet initialized" - } private val dispatcher = newLimitedThreadPoolExecutor(concurrencyLimit).asCoroutineDispatcher() private val semaphore = Semaphore(concurrencyLimit) @@ -110,11 +106,6 @@ class RuntimeFactory( val typeRegistry = TypeRegistry(finalTypes, DynamicTypeResolver(DynamicTypeResolver.DEFAULT_COMPOUND_EXTENSIONS + GenericsExtension)) - // Store diagnostic info for error messages - val hasExtrinsicSignature = typeRegistry["ExtrinsicSignature"] != null - val hasAddress = typeRegistry["Address"] != null - lastDiagnostics = "typesUsage=$typesUsage, ExtrinsicSig=$hasExtrinsicSignature, Address=$hasAddress, typeCount=${finalTypes.size}" - val runtimeMetadata = VersionedRuntimeBuilder.buildMetadata(metadataReader, typeRegistry) ConstructedRuntime(