mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Merge PR #1718
This commit is contained in:
commit
f2477b15af
@ -17,6 +17,7 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/rendering.dart';
|
||||||
import 'package:local_notifier/local_notifier.dart';
|
import 'package:local_notifier/local_notifier.dart';
|
||||||
|
|
||||||
import '../message.dart';
|
import '../message.dart';
|
||||||
@ -156,6 +157,8 @@ UserInteractionController _dialogUserInteraction(
|
|||||||
Widget? icon,
|
Widget? icon,
|
||||||
void Function()? onCancel,
|
void Function()? onCancel,
|
||||||
}) {
|
}) {
|
||||||
|
String a11yLabel = '$title $description';
|
||||||
|
SemanticsService.announce(a11yLabel, TextDirection.ltr);
|
||||||
var completed = false;
|
var completed = false;
|
||||||
var wasPopped = false;
|
var wasPopped = false;
|
||||||
final controller = _UserInteractionController(
|
final controller = _UserInteractionController(
|
||||||
|
Loading…
Reference in New Issue
Block a user