mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
fix oath addAccount on Android
This commit is contained in:
parent
e8da7f51ef
commit
463d5cc7a6
@ -131,6 +131,10 @@ extension OathFunctions on WidgetTester {
|
|||||||
// await enterText(issuerText, generateRandomSecret());
|
// await enterText(issuerText, generateRandomSecret());
|
||||||
await enterText(secretText, a.secret);
|
await enterText(secretText, a.secret);
|
||||||
await shortWait();
|
await shortWait();
|
||||||
|
if (isAndroid) {
|
||||||
|
FocusManager.instance.primaryFocus?.unfocus();
|
||||||
|
await shortWait();
|
||||||
|
}
|
||||||
if (a.touch != null && a.touch == true) {
|
if (a.touch != null && a.touch == true) {
|
||||||
var requireTouchFilterChip =
|
var requireTouchFilterChip =
|
||||||
find.byKey(keys.requireTouchFilterChip).hitTestable();
|
find.byKey(keys.requireTouchFilterChip).hitTestable();
|
||||||
|
Loading…
Reference in New Issue
Block a user