minor bug fix

This commit is contained in:
ashilkn 2022-09-05 15:40:59 +05:30
parent 80557f0adf
commit bf1743cb8f
2 changed files with 4 additions and 3 deletions

View file

@ -140,6 +140,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
} else {
showErrorDialog(
context,
"",
"To enable the ente lockscreen, please setup the device passcode or screen lock in the system settings.",
);
}

View file

@ -26,9 +26,9 @@ ProgressDialog createProgressDialog(BuildContext context, String message) {
Future<dynamic> showErrorDialog(
BuildContext context,
String content, [
String title = '',
]) {
String title,
String content,
) {
final AlertDialog alert = AlertDialog(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)),
title: title.isEmpty