fix oath addAccount on Android

This commit is contained in:
Adam Velebil 2023-11-29 18:31:04 +01:00
parent e8da7f51ef
commit 463d5cc7a6
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -131,6 +131,10 @@ extension OathFunctions on WidgetTester {
// await enterText(issuerText, generateRandomSecret());
await enterText(secretText, a.secret);
await shortWait();
if (isAndroid) {
FocusManager.instance.primaryFocus?.unfocus();
await shortWait();
}
if (a.touch != null && a.touch == true) {
var requireTouchFilterChip =
find.byKey(keys.requireTouchFilterChip).hitTestable();