@@ -176,8 +176,7 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
176176 }
177177
178178 Future <void > _onEpicReceiveSlatePressed () async {
179- final wallet =
180- ref.read (pWallets).getWallet (walletId) as EpiccashWallet ;
179+ final wallet = ref.read (pWallets).getWallet (walletId) as EpiccashWallet ;
181180
182181 Exception ? ex;
183182 final result = await showLoading (
@@ -607,9 +606,11 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
607606 ),
608607 ),
609608 ),
610- if (! ((isMimblewimblecoin || isEpiccash) && ref.watch (pIsSlatepack (widget.walletId))))
609+ if (! ((isMimblewimblecoin || isEpiccash) &&
610+ ref.watch (pIsSlatepack (widget.walletId))))
611611 const SizedBox (height: 20 ),
612- if (! ((isMimblewimblecoin || isEpiccash) && ref.watch (pIsSlatepack (widget.walletId))))
612+ if (! ((isMimblewimblecoin || isEpiccash) &&
613+ ref.watch (pIsSlatepack (widget.walletId))))
613614 ConditionalParent (
614615 condition: showMultiType,
615616 builder: (child) => Column (
@@ -791,25 +792,21 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
791792 Expanded (
792793 child: Text (
793794 labelValue.isNotEmpty ? labelValue : "No label" ,
794- style: STextStyles .desktopTextExtraExtraSmall (
795- context,
796- ).copyWith (
797- color: Theme .of (
798- context,
799- ).extension < StackColors > ()! .textDark,
800- ),
795+ style: STextStyles .desktopTextExtraExtraSmall (context)
796+ .copyWith (
797+ color: Theme .of (
798+ context,
799+ ).extension < StackColors > ()! .textDark,
800+ ),
801801 ),
802802 ),
803803 SimpleEditButton (
804804 editValue: labelValue,
805805 editLabel: "label" ,
806806 overrideTitle: "Edit label" ,
807807 onValueChanged: (value) {
808- final existingLabel =
809- MainDB .instance.getAddressLabelSync (
810- walletId,
811- address,
812- );
808+ final existingLabel = MainDB .instance
809+ .getAddressLabelSync (walletId, address);
813810 if (existingLabel != null ) {
814811 MainDB .instance.putAddressLabel (
815812 existingLabel.copyWith (label: value),
@@ -850,7 +847,8 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
850847 label: "Generate new address" ,
851848 ),
852849 const SizedBox (height: 20 ),
853- if ((isMimblewimblecoin || isEpiccash) && ref.watch (pIsSlatepack (widget.walletId)))
850+ if ((isMimblewimblecoin || isEpiccash) &&
851+ ref.watch (pIsSlatepack (widget.walletId)))
854852 Column (
855853 crossAxisAlignment: CrossAxisAlignment .start,
856854 children: [
@@ -981,15 +979,18 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
981979
982980 // TODO: create transparent button class to account for hover
983981 // Conditional logic for 'Submit' button or QR code
984- if ((isMimblewimblecoin || isEpiccash) && ref.watch (pIsSlatepack (widget.walletId)))
982+ if ((isMimblewimblecoin || isEpiccash) &&
983+ ref.watch (pIsSlatepack (widget.walletId)))
985984 Padding (
986985 padding: const EdgeInsets .symmetric (horizontal: 8.0 ),
987986 child: PrimaryButton (
988987 buttonHeight: ButtonHeight .l,
989988 label: "Receive Slatepack" ,
990989 enabled: _slateToggleFlag,
991990 onPressed: _slateToggleFlag
992- ? (isEpiccash ? _onEpicReceiveSlatePressed : _onReceiveSlatePressed)
991+ ? (isEpiccash
992+ ? _onEpicReceiveSlatePressed
993+ : _onReceiveSlatePressed)
993994 : null ,
994995 ),
995996 )
0 commit comments