Compare commits
2 Commits
a1b3add2a6
...
2abff1fe06
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2abff1fe06 | ||
|
|
21f3a75aa5 |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -2,6 +2,7 @@ import 'dart:ui';
|
||||
import 'package:hash_wallet/di.dart';
|
||||
import 'package:hash_wallet/generated/i18n.dart';
|
||||
import 'package:hash_wallet/monero/monero.dart';
|
||||
import 'package:hash_wallet/wownero/wownero.dart';
|
||||
import 'package:hash_wallet/new-ui/pages/card_customizer.dart';
|
||||
import 'package:hash_wallet/new-ui/viewmodels/card_customizer/card_customizer_bloc.dart';
|
||||
import 'package:hash_wallet/new-ui/widgets/coins_page/cards/balance_card.dart';
|
||||
@@ -21,6 +22,7 @@ import 'package:cw_core/card_design.dart';
|
||||
import 'package:cw_core/generate_name.dart';
|
||||
import 'package:cw_core/sync_status.dart';
|
||||
import 'package:cw_core/utils/print_verbose.dart';
|
||||
import 'package:cw_core/wallet_type.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
@@ -62,7 +64,13 @@ class _AccountCustomizerState extends State<AccountCustomizer> {
|
||||
super.initState();
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
loadCards();
|
||||
final activeId = monero!.getCurrentAccount(widget.dashboardViewModel.wallet).id;
|
||||
final wallet = widget.dashboardViewModel.wallet;
|
||||
final int? activeId = wallet.type == WalletType.monero
|
||||
? monero?.getCurrentAccount(wallet).id
|
||||
: wallet.type == WalletType.wownero
|
||||
? wownero?.getCurrentAccount(wallet).id
|
||||
: null;
|
||||
if (activeId == null) return;
|
||||
for (int i = 0; i < _items.length-1; i++) {
|
||||
if(_items[i].accountListItem.id == activeId) {
|
||||
final lastIndex = _items.length - 1;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: hash_wallet
|
||||
description: Hash Bags — a noncustodial multi-currency wallet by Such Software LLC.
|
||||
version: 1.0.0+5
|
||||
version: 1.0.0+7
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
|
||||
@@ -20,9 +20,14 @@ MONERO_COM_BUNDLE_ID="com.monero.app"
|
||||
MONERO_COM_PACKAGE="com.monero.app"
|
||||
MONERO_COM_SCHEME="monero.com"
|
||||
|
||||
# Source CAKEWALLET version + build number from pubspec_description.yaml
|
||||
# (single source of truth across iOS/Android). Without this, the hardcoded
|
||||
# build number here would silently override pubspec via inject_app_details.sh
|
||||
# and every Play Store upload would ship as versionCode 1.
|
||||
_PUBSPEC_VERSION=$(awk -F': ' '/^version:/ {print $2; exit}' ../../pubspec_description.yaml)
|
||||
CAKEWALLET_NAME="Hash Bags"
|
||||
CAKEWALLET_VERSION="1.0.0"
|
||||
CAKEWALLET_BUILD_NUMBER=1
|
||||
CAKEWALLET_VERSION="${_PUBSPEC_VERSION%+*}"
|
||||
CAKEWALLET_BUILD_NUMBER="${_PUBSPEC_VERSION#*+}"
|
||||
CAKEWALLET_BUNDLE_ID="com.suchsoftware.hashwallet"
|
||||
CAKEWALLET_PACKAGE="com.suchsoftware.hashwallet"
|
||||
CAKEWALLET_SCHEME="hashbags"
|
||||
|
||||