Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[substrate_api] remove unused and genExternalLinksParams #1515

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions app/lib/service/substrate_api/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import 'package:encointer_wallet/service/substrate_api/chain_api.dart';
import 'package:encointer_wallet/service/substrate_api/core/dart_api.dart';
import 'package:encointer_wallet/service/substrate_api/core/js_api.dart';
import 'package:encointer_wallet/service/substrate_api/encointer/encointer_api.dart';
import 'package:encointer_wallet/service/substrate_api/types/gen_external_links_params.dart';

/// Global api instance
///
Expand Down Expand Up @@ -227,11 +226,4 @@ class Api {
await stopSubscriptions();
return js.closeWebView();
}

Future<List?> getExternalLinks(GenExternalLinksParams params) async {
final res = await evalJavascript(
'settings.genLinks(${jsonEncode(GenExternalLinksParams.toJson(params))})',
);
return res as List?;
}
}
16 changes: 0 additions & 16 deletions app/lib/service/substrate_api/types/gen_external_links_params.dart

This file was deleted.

This file was deleted.

Loading