Skip to content

Commit

Permalink
fix: method name
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Jun 3, 2024
1 parent 0c60c75 commit 229e2b0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class _MyHomePageState extends State<MyHomePage> {
unawaited(_loadWallets());
}

final walletsFuture = CatalystCardano.instance.getCardanoWallets();

@override
Widget build(BuildContext context) {
final Widget child;
Expand Down Expand Up @@ -82,7 +80,7 @@ class _MyHomePageState extends State<MyHomePage> {
Future<void> _loadWallets() async {
try {
setState(() => _isLoading = true);
final wallets = await CatalystCardano.instance.getCardanoWallets();
final wallets = await CatalystCardano.instance.getWallets();
setState(() => _wallets = wallets);
} catch (error) {
setState(() => _error = error);
Expand Down

0 comments on commit 229e2b0

Please sign in to comment.