fix: Disable app lock if user is logged out

This commit is contained in:
Krille 2023-09-29 08:28:35 +02:00
commit f5cf1b4d70
No known key found for this signature in database
2 changed files with 16 additions and 1 deletions

View file

@ -60,7 +60,7 @@ class AppLock extends State<AppLockWidget> with WidgetsBindingObserver {
return;
}
bool unlock(String pincode) {
bool unlock(String? pincode) {
final isCorrect = pincode == _pincode;
if (isCorrect) {
setState(() {