Lock the password change screen behind a lockscreen
This commit is contained in:
parent
d12ab1b4e0
commit
a42427a809
|
@ -385,6 +385,10 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
final result = await requestAuthentication();
|
||||
if (!result) {
|
||||
return;
|
||||
}
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (BuildContext context) {
|
||||
|
|
Loading…
Reference in a new issue