minor bug fix
This commit is contained in:
parent
80557f0adf
commit
bf1743cb8f
|
@ -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.",
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue