Lock the password change screen behind a lockscreen

This commit is contained in:
Vishnu Mohandas 2021-03-26 21:45:51 +05:30
parent d12ab1b4e0
commit a42427a809

View file

@ -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) {