mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
UI fixes
This commit is contained in:
parent
2f3f677300
commit
ba3ef5c2b4
30 changed files with 33 additions and 7 deletions
|
@ -96,9 +96,9 @@ class TransactionsPage extends StatelessWidget {
|
|||
direction: transaction.direction,
|
||||
formattedDate: DateFormat('HH:mm').format(transaction.date),
|
||||
formattedAmount: item.formattedCryptoAmount,
|
||||
formattedFiatAmount: formattedFiatValue,
|
||||
formattedFiatAmount: dashboardViewModel.balanceViewModel.isFiatDisabled ? '' : formattedFiatValue,
|
||||
isPending: transaction.isPending,
|
||||
isHistoricalRate: historicalFiatValue != null && historicalFiatValue.isNotEmpty,
|
||||
isHistoricalRate: dashboardViewModel.settingsStore.showHistoricalFiatAmount,
|
||||
title: item.formattedTitle + item.formattedStatus));
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ class DisplaySettingsPage extends BasePage {
|
|||
_displaySettingsViewModel.setShouldShowMarketPlaceInDashbaord(value);
|
||||
},
|
||||
),
|
||||
if (!_displaySettingsViewModel.disabledFiatApiMode)
|
||||
SettingsSwitcherCell(
|
||||
title: S.current.historical_fiat_rate,
|
||||
value: _displaySettingsViewModel.showHistoricalFiatAmount,
|
||||
|
|
|
@ -552,9 +552,8 @@ abstract class DashboardViewModelBase with Store {
|
|||
|
||||
String? getFormattedFiatAmount(TransactionInfo transaction) {
|
||||
final description = getTransactionDescription(transaction);
|
||||
if (settingsStore.fiatApiMode == FiatApiMode.disabled) return '';
|
||||
|
||||
if (settingsStore.showHistoricalFiatAmount) {
|
||||
if (settingsStore.fiatApiMode == FiatApiMode.disabled) return '';
|
||||
final fiatName = settingsStore.fiatCurrency.toString();
|
||||
final fiatRate = double.tryParse(description.historicalRates[fiatName] ?? '');
|
||||
final formattedHistoricalRate = (fiatRate != null && fiatRate < 0.01)
|
||||
|
|
|
@ -109,7 +109,7 @@ abstract class TransactionDetailsViewModelBase with Store {
|
|||
if (fiatHistoricalRate != null && fiatHistoricalRate.isNotEmpty) {
|
||||
final formattedFiatValue = fiatHistoricalRate.split(' ').reversed.join(' ');
|
||||
items.add(StandartListItem(
|
||||
title: 'S.current.historical_fiat_amount', value: formattedFiatValue));
|
||||
title: S.current.historical_fiat_amount, value: formattedFiatValue));
|
||||
}
|
||||
|
||||
final type = wallet.type;
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "الميزان الخفي",
|
||||
"hide_details": "أخف التفاصيل",
|
||||
"high_contrast_theme": "موضوع عالي التباين",
|
||||
"historical_fiat_amount": "كمية فيات التاريخية",
|
||||
"historical_fiat_rate": "معدل فيات التاريخي",
|
||||
"home_screen_settings": "إعدادات الشاشة الرئيسية",
|
||||
"how_to_use": " ﻞﻤﻌﺘﺴﺗ ﻒﻴﻛ",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Скрит баланс",
|
||||
"hide_details": "Скриване на подробностите",
|
||||
"high_contrast_theme": "Тема с висок контраст",
|
||||
"historical_fiat_amount": "Историческа фиатна сума",
|
||||
"historical_fiat_rate": "Историческа фиат",
|
||||
"home_screen_settings": "Настройки на началния екран",
|
||||
"how_to_use": "Как да използвам",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Skrytý zůstatek",
|
||||
"hide_details": "Skrýt detaily",
|
||||
"high_contrast_theme": "Téma s vysokým kontrastem",
|
||||
"historical_fiat_amount": "Historická částka Fiat",
|
||||
"historical_fiat_rate": "Historická sazba fiat",
|
||||
"home_screen_settings": "Nastavení domovské obrazovky",
|
||||
"how_to_use": "Jak používat",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Verstecktes Guthaben",
|
||||
"hide_details": "Details ausblenden",
|
||||
"high_contrast_theme": "Kontrastreiches Thema",
|
||||
"historical_fiat_amount": "Historischer Fiatmenge",
|
||||
"historical_fiat_rate": "Historische Fiatrate",
|
||||
"home_screen_settings": "Einstellungen für den Startbildschirm",
|
||||
"how_to_use": "Wie benutzt man",
|
||||
|
@ -427,8 +428,8 @@
|
|||
"placeholder_transactions": "Ihre Transaktionen werden hier angezeigt",
|
||||
"please_fill_totp": "Bitte geben Sie den 8-stelligen Code ein, der auf Ihrem anderen Gerät vorhanden ist",
|
||||
"please_make_selection": "Bitte treffen Sie unten eine Auswahl zum Erstellen oder Wiederherstellen Ihrer Wallet.",
|
||||
"Please_reference_document": "Weitere Informationen finden Sie in den Dokumenten unten.",
|
||||
"please_reference_document": "Bitte verweisen Sie auf die folgenden Dokumente, um weitere Informationen zu erhalten.",
|
||||
"Please_reference_document": "Weitere Informationen finden Sie in den Dokumenten unten.",
|
||||
"please_select": "Bitte auswählen:",
|
||||
"please_select_backup_file": "Bitte wählen Sie die Sicherungsdatei und geben Sie das Sicherungskennwort ein.",
|
||||
"please_try_to_connect_to_another_node": "Bitte versuchen Sie, sich mit einem anderen Knoten zu verbinden",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Hidden Balance",
|
||||
"hide_details": "Hide Details",
|
||||
"high_contrast_theme": "High Contrast Theme",
|
||||
"historical_fiat_amount": "Historical fiat amount",
|
||||
"historical_fiat_rate": "Historical fiat rate",
|
||||
"home_screen_settings": "Home screen settings",
|
||||
"how_to_use": "How to use",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Balance oculto",
|
||||
"hide_details": "Ocultar detalles",
|
||||
"high_contrast_theme": "Tema de alto contraste",
|
||||
"historical_fiat_amount": "Cantidad histórica fiduciaria",
|
||||
"historical_fiat_rate": "Tasa histórica de fiducias",
|
||||
"home_screen_settings": "Configuración de la pantalla de inicio",
|
||||
"how_to_use": "Cómo utilizar",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Solde Caché",
|
||||
"hide_details": "Masquer les détails",
|
||||
"high_contrast_theme": "Thème à contraste élevé",
|
||||
"historical_fiat_amount": "Montant fiat historique",
|
||||
"historical_fiat_rate": "Taux de fiat historique",
|
||||
"home_screen_settings": "Paramètres de l'écran d'accueil",
|
||||
"how_to_use": "Comment utiliser",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "BOYE KUDI",
|
||||
"hide_details": "Ɓoye cikakkun bayanai",
|
||||
"high_contrast_theme": "Babban Jigon Kwatance",
|
||||
"historical_fiat_amount": "Fiat na tarihi",
|
||||
"historical_fiat_rate": "Fasali na tarihi",
|
||||
"home_screen_settings": "Saitunan allo na gida",
|
||||
"how_to_use": "Yadda ake amfani da shi",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "छिपा हुआ संतुलन",
|
||||
"hide_details": "विवरण छुपाएं",
|
||||
"high_contrast_theme": "उच्च कंट्रास्ट थीम",
|
||||
"historical_fiat_amount": "ऐतिहासिक फिएट राशि",
|
||||
"historical_fiat_rate": "ऐतिहासिक फिएट दर",
|
||||
"home_screen_settings": "होम स्क्रीन सेटिंग्स",
|
||||
"how_to_use": "का उपयोग कैसे करें",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Skriven iznos",
|
||||
"hide_details": "Sakrij pojedinosti",
|
||||
"high_contrast_theme": "Tema visokog kontrasta",
|
||||
"historical_fiat_amount": "Povijesni fijat iznos",
|
||||
"historical_fiat_rate": "Povijesna stopa fijata",
|
||||
"home_screen_settings": "Postavke početnog zaslona",
|
||||
"how_to_use": "Kako koristiti",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Saldo Tersembunyi",
|
||||
"hide_details": "Sembunyikan Rincian",
|
||||
"high_contrast_theme": "Tema Kontras Tinggi",
|
||||
"historical_fiat_amount": "Jumlah fiat historis",
|
||||
"historical_fiat_rate": "Tingkat fiat historis",
|
||||
"home_screen_settings": "Pengaturan layar awal",
|
||||
"how_to_use": "Cara Penggunaan",
|
||||
|
|
|
@ -312,6 +312,7 @@
|
|||
"hidden_balance": "Saldo Nascosto",
|
||||
"hide_details": "Nascondi dettagli",
|
||||
"high_contrast_theme": "Tema ad alto contrasto",
|
||||
"historical_fiat_amount": "Importo fiat storico",
|
||||
"historical_fiat_rate": "Tasso di fiat storico",
|
||||
"home_screen_settings": "Impostazioni della schermata iniziale",
|
||||
"how_to_use": "Come usare",
|
||||
|
|
|
@ -312,6 +312,7 @@
|
|||
"hidden_balance": "隠れたバランス",
|
||||
"hide_details": "詳細を非表示",
|
||||
"high_contrast_theme": "ハイコントラストテーマ",
|
||||
"historical_fiat_amount": "歴史的なフィアット量",
|
||||
"historical_fiat_rate": "歴史的なフィアット率",
|
||||
"home_screen_settings": "ホーム画面の設定",
|
||||
"how_to_use": "使い方",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "숨겨진 균형",
|
||||
"hide_details": "세부 정보 숨기기",
|
||||
"high_contrast_theme": "고대비 테마",
|
||||
"historical_fiat_amount": "역사적 피아트 금액",
|
||||
"historical_fiat_rate": "역사적 피아트 비율",
|
||||
"home_screen_settings": "홈 화면 설정",
|
||||
"how_to_use": "사용하는 방법",
|
||||
|
@ -427,8 +428,8 @@
|
|||
"placeholder_transactions": "거래가 여기에 표시됩니다",
|
||||
"please_fill_totp": "다른 기기에 있는 8자리 코드를 입력하세요.",
|
||||
"please_make_selection": "아래에서 선택하십시오 지갑 만들기 또는 복구.",
|
||||
"please_reference_document": "자세한 내용은 아래 문서를 참조하십시오.",
|
||||
"Please_reference_document": "자세한 내용은 아래 문서를 참조하십시오.",
|
||||
"please_reference_document": "자세한 내용은 아래 문서를 참조하십시오.",
|
||||
"please_select": "선택 해주세요:",
|
||||
"please_select_backup_file": "백업 파일을 선택하고 백업 암호를 입력하십시오.",
|
||||
"please_try_to_connect_to_another_node": "다른 노드에 연결을 시도하십시오",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Hidden Balance",
|
||||
"hide_details": "အသေးစိတ်ကို ဝှက်ပါ။",
|
||||
"high_contrast_theme": "အလင်းအမှောင် မြင့်မားသော အပြင်အဆင်",
|
||||
"historical_fiat_amount": "သမိုင်း fiat ပမာဏ",
|
||||
"historical_fiat_rate": "သမိုင်း fiat နှုန်း",
|
||||
"home_screen_settings": "ပင်မစခရင် ဆက်တင်များ",
|
||||
"how_to_use": "အသုံးပြုနည်း",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Verborgen balans",
|
||||
"hide_details": "Details verbergen",
|
||||
"high_contrast_theme": "Thema met hoog contrast",
|
||||
"historical_fiat_amount": "Historisch fiatbedrag",
|
||||
"historical_fiat_rate": "Historisch fiat rate",
|
||||
"home_screen_settings": "Instellingen voor het startscherm",
|
||||
"how_to_use": "Hoe te gebruiken",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Ukryte saldo",
|
||||
"hide_details": "Ukryj szczegóły",
|
||||
"high_contrast_theme": "Motyw o wysokim kontraście",
|
||||
"historical_fiat_amount": "Historyczna kwota Fiat",
|
||||
"historical_fiat_rate": "Historyczna stawka Fiat",
|
||||
"home_screen_settings": "Ustawienia ekranu głównego",
|
||||
"how_to_use": "Jak używać",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Saldo escondido",
|
||||
"hide_details": "Ocultar detalhes",
|
||||
"high_contrast_theme": "Tema de alto contraste",
|
||||
"historical_fiat_amount": "Quantidade histórica fiat",
|
||||
"historical_fiat_rate": "Taxa Fiat Histórica",
|
||||
"home_screen_settings": "Configurações da tela inicial",
|
||||
"how_to_use": "Como usar",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Скрытый баланс",
|
||||
"hide_details": "Скрыть детали",
|
||||
"high_contrast_theme": "Высококонтрастная тема",
|
||||
"historical_fiat_amount": "Историческая сумма Fiat",
|
||||
"historical_fiat_rate": "Историческая ставка фиата",
|
||||
"home_screen_settings": "Настройки главного экрана",
|
||||
"how_to_use": "Как использовать",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "ยอดคงเหลือซ่อนอยู่",
|
||||
"hide_details": "ซ่อนรายละเอียด",
|
||||
"high_contrast_theme": "ธีมความคมชัดสูง",
|
||||
"historical_fiat_amount": "จำนวนเงิน fiat ในอดีต",
|
||||
"historical_fiat_rate": "อัตราคำสั่งในอดีต",
|
||||
"home_screen_settings": "การตั้งค่าหน้าจอหลัก",
|
||||
"how_to_use": "วิธีใช้",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Nakatagong balanse",
|
||||
"hide_details": "Itago ang mga detalye",
|
||||
"high_contrast_theme": "Mataas na tema ng kaibahan",
|
||||
"historical_fiat_amount": "Makasaysayang halaga ng Fiat",
|
||||
"historical_fiat_rate": "Makasaysayang rate ng fiat",
|
||||
"home_screen_settings": "Mga setting ng home screen",
|
||||
"how_to_use": "Paano gamitin",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Gizli Bakiye",
|
||||
"hide_details": "Detayları Gizle",
|
||||
"high_contrast_theme": "Yüksek Kontrastlı Tema",
|
||||
"historical_fiat_amount": "Tarihsel fiat miktarı",
|
||||
"historical_fiat_rate": "Tarihsel fiat oranı",
|
||||
"home_screen_settings": "Ana ekran ayarları",
|
||||
"how_to_use": "Nasıl kullanılır",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "Прихований баланс",
|
||||
"hide_details": "Приховати деталі",
|
||||
"high_contrast_theme": "Тема високої контрастності",
|
||||
"historical_fiat_amount": "Історична сума фіатів",
|
||||
"historical_fiat_rate": "Історична швидкість Fiat",
|
||||
"home_screen_settings": "Налаштування головного екрана",
|
||||
"how_to_use": "Як використовувати",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "پوشیدہ بیلنس",
|
||||
"hide_details": "تفصیلات چھپائیں۔",
|
||||
"high_contrast_theme": "ہائی کنٹراسٹ تھیم",
|
||||
"historical_fiat_amount": "تاریخی فیاٹ رقم",
|
||||
"historical_fiat_rate": "تاریخی فیاٹ کی شرح",
|
||||
"home_screen_settings": "ہوم اسکرین کی ترتیبات",
|
||||
"how_to_use": " ﮧﻘﯾﺮﻃ ﺎﮐ ﮯﻧﺮﮐ ﻝﺎﻤﻌﺘﺳﺍ",
|
||||
|
|
|
@ -312,6 +312,7 @@
|
|||
"hidden_balance": "Ìyókù owó dídé",
|
||||
"hide_details": "Dé ìsọfúnni kékeré",
|
||||
"high_contrast_theme": "Akori Iyatọ giga",
|
||||
"historical_fiat_amount": "Itan itan",
|
||||
"historical_fiat_rate": "Oṣuwọn fiat oṣuwọn itan",
|
||||
"home_screen_settings": "Awọn eto iboju ile",
|
||||
"how_to_use": "Bawo ni lati lo",
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
"hidden_balance": "隐藏余额",
|
||||
"hide_details": "隐藏细节",
|
||||
"high_contrast_theme": "高对比度主题",
|
||||
"historical_fiat_amount": "历史法定数量",
|
||||
"historical_fiat_rate": "历史菲亚特率",
|
||||
"home_screen_settings": "主屏幕设置",
|
||||
"how_to_use": "如何使用",
|
||||
|
|
Loading…
Reference in a new issue