File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ import 'package:flutter_animate/flutter_animate.dart';
5353import 'package:get_it/get_it.dart' ;
5454import 'package:go_router/go_router.dart' ;
5555
56- const bbVersion = '0.2.0-8 ' ;
56+ const bbVersion = '0.2.0-9 ' ;
5757
5858GetIt locator = GetIt .instance;
5959
Original file line number Diff line number Diff line change @@ -247,9 +247,9 @@ class ReceiveCubit extends Cubit<ReceiveState> {
247247
248248 if (state.walletBloc == null ) return ;
249249
250- final (updatedWallet, err) = await _walletAddress. newAddress (
251- state.walletBloc ! .state.wallet ! ,
252- );
250+ final wallet = state.walletBloc ! .state.wallet ! ;
251+
252+ final (updatedWallet, err) = await _walletAddress. newAddress (wallet );
253253 if (err != null ) {
254254 emit (
255255 state.copyWith (
@@ -287,10 +287,23 @@ class ReceiveCubit extends Cubit<ReceiveState> {
287287 emit (state.copyWith (updateAddressGap: addressGap + 1 ));
288288 Future .delayed (const Duration (milliseconds: 100 ));
289289 }
290+ if (wallet.isLiquid ())
291+ emit (
292+ state.copyWith (
293+ defaultLiquidAddress: updatedWallet.lastGeneratedAddress,
294+ ),
295+ );
296+ else
297+ emit (
298+ state.copyWith (
299+ defaultAddress: updatedWallet.lastGeneratedAddress,
300+ ),
301+ );
290302
291303 emit (
292304 state.copyWith (
293305 defaultLiquidAddress: updatedWallet.lastGeneratedAddress,
306+ defaultAddress: updatedWallet.lastGeneratedAddress,
294307 privateLabel: '' ,
295308 savedDescription: '' ,
296309 description: '' ,
Original file line number Diff line number Diff line change 11name : bb_mobile
22description : Bull Bitcoin Mobile Wallet
33publish_to : ' none'
4- version : 0.2.0-8+15
4+ version : 0.2.0-9+16
55
66environment :
77 sdk : " >=3.3.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments