Skip to content

Commit

Permalink
🐛 #99
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Mar 14, 2024
1 parent f4aa30c commit 06f67a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 1 addition & 8 deletions lib/ui/views/farm_list/farm_list_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:aedex/ui/views/farm_list/components/farm_details_front.dart';
import 'package:aedex/ui/views/main_screen/bloc/provider.dart';
import 'package:aedex/ui/views/main_screen/layouts/main_screen_list.dart';
import 'package:aedex/ui/views/util/components/dex_archethic_uco.dart';
import 'package:aedex/ui/views/util/components/failure_message.dart';

import 'package:archethic_dapp_framework_flutter/archethic_dapp_framework_flutter.dart'
as aedappfm;
Expand Down Expand Up @@ -57,13 +56,7 @@ Widget _body(BuildContext context, WidgetRef ref) {
child: asyncFarms.when(
skipLoadingOnRefresh: true,
skipLoadingOnReload: true,
error: (error, stackTrace) => aedappfm.ErrorMessage(
failure: aedappfm.Failure.fromError(error),
failureMessage: FailureMessage(
context: context,
failure: aedappfm.Failure.fromError(error),
).getMessage(),
),
error: (error, stacktrace) => const aedappfm.Loading(),
loading: aedappfm.Loading.new,
data: (farms) => GridView.builder(
gridDelegate: const aedappfm.SliverGridDelegateWithFixedSize(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
import 'package:aedex/application/notification.dart';
import 'package:aedex/application/session/provider.dart';
import 'package:aedex/ui/views/notifications/layouts/tasks_notification_widget.dart';
import 'package:aedex/ui/views/swap/layouts/swap_sheet.dart';
import 'package:aedex/ui/views/util/components/format_address_link_copy.dart';
import 'package:archethic_dapp_framework_flutter/archethic_dapp_framework_flutter.dart'
as aedappfm;
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/localizations.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';

class ConnectionToWalletStatus extends ConsumerStatefulWidget {
const ConnectionToWalletStatus({
Expand Down Expand Up @@ -39,6 +41,7 @@ class _ConnectionToWalletStatusState
),
);
ref.read(SessionProviders.session.notifier).setOldNameAccount();
context.go(SwapSheet.routerPage);
});
}

Expand Down

0 comments on commit 06f67a8

Please sign in to comment.