mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 16:55:58 +00:00
Another beautiful day fixes
This commit is contained in:
parent
9db6e233c7
commit
a4ead9c2ba
8 changed files with 66 additions and 60 deletions
|
@ -354,7 +354,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 14;
|
CURRENT_PROJECT_VERSION = 16;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
@ -494,7 +494,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 14;
|
CURRENT_PROJECT_VERSION = 16;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
@ -528,7 +528,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 14;
|
CURRENT_PROJECT_VERSION = 16;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
|
|
@ -169,7 +169,7 @@ abstract class BitcoinWalletBase extends WalletBase<BitcoinBalance> with Store {
|
||||||
Future<void> init() async {
|
Future<void> init() async {
|
||||||
if (addresses.isEmpty || addresses.length < 33) {
|
if (addresses.isEmpty || addresses.length < 33) {
|
||||||
final addressesCount = 33 - addresses.length;
|
final addressesCount = 33 - addresses.length;
|
||||||
await generateNewAddresses(addressesCount, startIndex: _accountIndex);
|
await generateNewAddresses(addressesCount, startIndex: addresses.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
address = addresses[_accountIndex].address;
|
address = addresses[_accountIndex].address;
|
||||||
|
|
|
@ -45,7 +45,8 @@ class AddressPage extends StatelessWidget {
|
||||||
amountTextFieldFocusNode: _cryptoAmountFocus,
|
amountTextFieldFocusNode: _cryptoAmountFocus,
|
||||||
isAmountFieldShow: !addressListViewModel.hasAccounts),
|
isAmountFieldShow: !addressListViewModel.hasAccounts),
|
||||||
)),
|
)),
|
||||||
addressListViewModel.hasAddressList
|
Observer(builder: (_) {
|
||||||
|
return addressListViewModel.hasAddressList
|
||||||
? GestureDetector(
|
? GestureDetector(
|
||||||
onTap: () =>
|
onTap: () =>
|
||||||
Navigator.of(context).pushNamed(Routes.receive),
|
Navigator.of(context).pushNamed(Routes.receive),
|
||||||
|
@ -54,7 +55,8 @@ class AddressPage extends StatelessWidget {
|
||||||
padding: EdgeInsets.only(left: 24, right: 12),
|
padding: EdgeInsets.only(left: 24, right: 12),
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(25)),
|
borderRadius:
|
||||||
|
BorderRadius.all(Radius.circular(25)),
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
color:
|
color:
|
||||||
Theme.of(context).textTheme.subhead.color,
|
Theme.of(context).textTheme.subhead.color,
|
||||||
|
@ -67,7 +69,9 @@ class AddressPage extends StatelessWidget {
|
||||||
Observer(
|
Observer(
|
||||||
builder: (_) => Text(
|
builder: (_) => Text(
|
||||||
addressListViewModel.hasAccounts
|
addressListViewModel.hasAccounts
|
||||||
? S.of(context).accounts_subaddresses
|
? S
|
||||||
|
.of(context)
|
||||||
|
.accounts_subaddresses
|
||||||
: S.of(context).addresses,
|
: S.of(context).addresses,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
|
@ -96,7 +100,8 @@ class AddressPage extends StatelessWidget {
|
||||||
textColor: Theme.of(context)
|
textColor: Theme.of(context)
|
||||||
.accentTextTheme
|
.accentTextTheme
|
||||||
.display3
|
.display3
|
||||||
.backgroundColor)
|
.backgroundColor);
|
||||||
|
})
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -109,7 +109,7 @@ class QRWidget extends StatelessWidget {
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 15,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
color: Theme.of(context).accentTextTheme.
|
color: Theme.of(context).accentTextTheme.
|
||||||
display3.backgroundColor),
|
display3.backgroundColor),
|
||||||
|
|
|
@ -148,12 +148,12 @@ class ConfirmSendingAlert extends BaseAlertDialog {
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.fromLTRB(8, 16, 8, 0),
|
padding: EdgeInsets.fromLTRB(0, 16, 0, 0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
recipientTitle,
|
'$recipientTitle:',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.normal,
|
fontWeight: FontWeight.normal,
|
||||||
|
|
|
@ -132,7 +132,7 @@ class BaseAlertDialog extends StatelessWidget {
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.fromLTRB(24, 32, 24, 0),
|
padding: EdgeInsets.fromLTRB(24, 20, 24, 0),
|
||||||
child: title(context),
|
child: title(context),
|
||||||
),
|
),
|
||||||
isDividerExists
|
isDividerExists
|
||||||
|
|
|
@ -143,6 +143,7 @@ abstract class WalletAddressListViewModelBase with Store {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@computed
|
||||||
bool get hasAddressList => _wallet.type == WalletType.monero;
|
bool get hasAddressList => _wallet.type == WalletType.monero;
|
||||||
|
|
||||||
@observable
|
@observable
|
||||||
|
|
|
@ -11,7 +11,7 @@ description: Cake Wallet.
|
||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 4.1.0+30
|
version: 4.1.0+32
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.7.0 <3.0.0"
|
sdk: ">=2.7.0 <3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue