mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
remove unused import
This commit is contained in:
parent
71f09c7043
commit
edfa0402c9
@ -1,6 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:yubico_authenticator/app/views/message_page.dart';
|
||||
import 'package:yubico_authenticator/core/state.dart';
|
||||
import 'package:yubico_authenticator/oath/views/account_list.dart';
|
||||
import 'package:yubico_authenticator/oath/views/account_view.dart';
|
||||
@ -30,7 +29,6 @@ const deviceMenuResetOathKey = Key('reset oath app');
|
||||
|
||||
const noAccountsMessagePage = Key('oath.message_page.no_accounts');
|
||||
|
||||
|
||||
class Account {
|
||||
final String? issuer;
|
||||
final String name;
|
||||
@ -120,7 +118,6 @@ extension OathFunctions on WidgetTester {
|
||||
}
|
||||
|
||||
Future<AccountView?> findAccount(Account a, {bool quiet = true}) async {
|
||||
|
||||
if (find.byKey(noAccountsMessagePage).hitTestable().evaluate().isNotEmpty) {
|
||||
/// if there is no OATH account on the YubiKey, the app shows
|
||||
/// No accounts [MessagePage]
|
||||
|
Loading…
Reference in New Issue
Block a user