update macos build number
Some checks are pending
Cache Dependencies / test (push) Waiting to run

minor fixes
This commit is contained in:
OmarHatem 2024-08-18 17:15:23 +03:00
parent 4071e460f6
commit 19c600ba10
7 changed files with 8 additions and 8 deletions

View file

@ -200,14 +200,14 @@ class _DesktopWalletSelectionDropDownState extends State<DesktopWalletSelectionD
} }
try { try {
if (context.mounted) { if (mounted) {
changeProcessText(S.of(context).wallet_list_loading_wallet(wallet.name)); changeProcessText(S.of(context).wallet_list_loading_wallet(wallet.name));
} }
await widget.walletListViewModel.loadWallet(wallet); await widget.walletListViewModel.loadWallet(wallet);
hideProgressText(); hideProgressText();
setState(() {}); setState(() {});
} catch (e) { } catch (e) {
if (context.mounted) { if (mounted) {
changeProcessText(S.of(context).wallet_list_failed_to_load(wallet.name, e.toString())); changeProcessText(S.of(context).wallet_list_failed_to_load(wallet.name, e.toString()));
} }
} }

View file

@ -206,7 +206,7 @@ class _EditTokenPageBodyState extends State<EditTokenPageBody> {
), ),
contractAddress: _contractAddressController.text, contractAddress: _contractAddressController.text,
); );
if (context.mounted) { if (mounted) {
Navigator.pop(context); Navigator.pop(context);
} }
} }

View file

@ -284,7 +284,7 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
if (state is TransactionCommitted) { if (state is TransactionCommitted) {
WidgetsBinding.instance.addPostFrameCallback((_) { WidgetsBinding.instance.addPostFrameCallback((_) {
if (context.mounted) { if (mounted) {
showPopUp<void>( showPopUp<void>(
context: context, context: context,
builder: (BuildContext popupContext) { builder: (BuildContext popupContext) {

View file

@ -95,7 +95,7 @@ class _WalletNameFormState extends State<WalletNameForm> {
if (state is FailureState) { if (state is FailureState) {
WidgetsBinding.instance.addPostFrameCallback((_) { WidgetsBinding.instance.addPostFrameCallback((_) {
if (context.mounted) { if (mounted) {
showPopUp<void>( showPopUp<void>(
context: context, context: context,
builder: (_) { builder: (_) {

View file

@ -219,7 +219,7 @@ class RootState extends State<Root> with WidgetsBindingObserver {
void waitForWalletInstance(BuildContext context) { void waitForWalletInstance(BuildContext context) {
WidgetsBinding.instance.addPostFrameCallback((_) { WidgetsBinding.instance.addPostFrameCallback((_) {
if (context.mounted) { if (mounted) {
_walletReactionDisposer = reaction( _walletReactionDisposer = reaction(
(_) => widget.appStore.wallet, (_) => widget.appStore.wallet,
(WalletBase? wallet) { (WalletBase? wallet) {

View file

@ -82,7 +82,7 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
if (initialPaymentRequest != null && if (initialPaymentRequest != null &&
sendViewModel.walletCurrencyName != initialPaymentRequest!.scheme.toLowerCase()) { sendViewModel.walletCurrencyName != initialPaymentRequest!.scheme.toLowerCase()) {
WidgetsBinding.instance.addPostFrameCallback((timeStamp) { WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
if (context.mounted) { if (mounted) {
showPopUp<void>( showPopUp<void>(
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {

View file

@ -22,7 +22,7 @@ MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
CAKEWALLET_NAME="Cake Wallet" CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="1.12.4" CAKEWALLET_VERSION="1.12.4"
CAKEWALLET_BUILD_NUMBER=84 CAKEWALLET_BUILD_NUMBER=85
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet" CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then