update macos build number minor fixes

update macos build number minor fixes

OmarHatem committed Aug 18, 2024 at 17:15 UTC 19c600ba10c4d72c984388073b0820e362c12bc6
7 files changed +8 -8
lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart
+2 -2
@@ -200,14 +200,14 @@ class _DesktopWalletSelectionDropDownState extends State<DesktopWalletSelectionD
200 }
201
202 try {
203 - if (context.mounted) {
203 + if (mounted) {
204 changeProcessText(S.of(context).wallet_list_loading_wallet(wallet.name));
205 }
206 await widget.walletListViewModel.loadWallet(wallet);
207 hideProgressText();
208 setState(() {});
209 } catch (e) {
210 - if (context.mounted) {
210 + if (mounted) {
211 changeProcessText(S.of(context).wallet_list_failed_to_load(wallet.name, e.toString()));
212 }
213 }
lib/src/screens/dashboard/edit_token_page.dart
+1 -1
@@ -206,7 +206,7 @@ class _EditTokenPageBodyState extends State<EditTokenPageBody> {
206 ),
207 contractAddress: _contractAddressController.text,
208 );
209 - if (context.mounted) {
209 + if (mounted) {
210 Navigator.pop(context);
211 }
212 }
lib/src/screens/exchange_trade/exchange_trade_page.dart
+1 -1
@@ -284,7 +284,7 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
284
285 if (state is TransactionCommitted) {
286 WidgetsBinding.instance.addPostFrameCallback((_) {
287 - if (context.mounted) {
287 + if (mounted) {
288 showPopUp<void>(
289 context: context,
290 builder: (BuildContext popupContext) {
lib/src/screens/new_wallet/new_wallet_page.dart
+1 -1
@@ -95,7 +95,7 @@ class _WalletNameFormState extends State<WalletNameForm> {
95
96 if (state is FailureState) {
97 WidgetsBinding.instance.addPostFrameCallback((_) {
98 - if (context.mounted) {
98 + if (mounted) {
99 showPopUp<void>(
100 context: context,
101 builder: (_) {
lib/src/screens/root/root.dart
+1 -1
@@ -219,7 +219,7 @@ class RootState extends State<Root> with WidgetsBindingObserver {
219
220 void waitForWalletInstance(BuildContext context) {
221 WidgetsBinding.instance.addPostFrameCallback((_) {
222 - if (context.mounted) {
222 + if (mounted) {
223 _walletReactionDisposer = reaction(
224 (_) => widget.appStore.wallet,
225 (WalletBase? wallet) {
lib/src/screens/send/widgets/send_card.dart
+1 -1
@@ -82,7 +82,7 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
82 if (initialPaymentRequest != null &&
83 sendViewModel.walletCurrencyName != initialPaymentRequest!.scheme.toLowerCase()) {
84 WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
85 - if (context.mounted) {
85 + if (mounted) {
86 showPopUp<void>(
87 context: context,
88 builder: (BuildContext context) {
scripts/macos/app_env.sh
+1 -1
@@ -22,7 +22,7 @@ MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
22
23 CAKEWALLET_NAME="Cake Wallet"
24 CAKEWALLET_VERSION="1.12.4"
25 -CAKEWALLET_BUILD_NUMBER=84
25 +CAKEWALLET_BUILD_NUMBER=85
26 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
27
28 if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then