Merge remote-tracking branch 'origin/staging' into arti

This commit is contained in:
sneurlax 2023-09-12 10:24:27 -05:00
commit fd5bded8a6
3 changed files with 104 additions and 88 deletions

View file

@ -370,6 +370,11 @@ class _WalletNetworkSettingsViewState
style: STextStyles.navBarTitle(context),
),
actions: [
if (ref
.read(walletsChangeNotifierProvider)
.getManager(widget.walletId)
.coin !=
Coin.epicCash)
Padding(
padding: const EdgeInsets.only(
top: 10,
@ -411,7 +416,8 @@ class _WalletNetworkSettingsViewState
.extension<StackColors>()!
.popupBG,
borderRadius: BorderRadius.circular(
Constants.size.circularBorderRadius),
Constants
.size.circularBorderRadius),
// boxShadow: [CFColors.standardBoxShadow],
boxShadow: const [],
),
@ -438,8 +444,8 @@ class _WalletNetworkSettingsViewState
color: Colors.transparent,
child: Text(
"Rescan blockchain",
style:
STextStyles.baseXS(context),
style: STextStyles.baseXS(
context),
),
),
),
@ -963,11 +969,21 @@ class _WalletNetworkSettingsViewState
.select((value) => value.getManager(widget.walletId).coin)),
popBackToRoute: WalletNetworkSettingsView.routeName,
),
if (isDesktop)
if (isDesktop &&
ref
.read(walletsChangeNotifierProvider)
.getManager(widget.walletId)
.coin !=
Coin.epicCash)
const SizedBox(
height: 32,
),
if (isDesktop)
if (isDesktop &&
ref
.read(walletsChangeNotifierProvider)
.getManager(widget.walletId)
.coin !=
Coin.epicCash)
Padding(
padding: const EdgeInsets.only(
bottom: 12,
@ -983,7 +999,12 @@ class _WalletNetworkSettingsViewState
],
),
),
if (isDesktop)
if (isDesktop &&
ref
.read(walletsChangeNotifierProvider)
.getManager(widget.walletId)
.coin !=
Coin.epicCash)
RoundedWhiteContainer(
borderColor: isDesktop
? Theme.of(context).extension<StackColors>()!.background

View file

@ -1579,13 +1579,8 @@ class _TransactionDetailsViewState
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
floatingActionButton: (coin == Coin.epicCash &&
_transaction.isConfirmed(
currentHeight,
coin.requiredConfirmations,
) ==
false &&
_transaction.isCancelled == false &&
_transaction.type == TransactionType.outgoing)
_transaction.getConfirmations(currentHeight) < 1 &&
_transaction.isCancelled == false)
? ConditionalParent(
condition: isDesktop,
builder: (child) => Padding(

View file

@ -11,7 +11,7 @@ description: Stack Wallet
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.7.19+187
version: 1.7.20+188
environment:
sdk: ">=3.0.2 <4.0.0"