some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import 'package:be_happy/domain/repositories/pin_repository.dart';
|
||||
|
||||
import '../repositories/auth_repository.dart';
|
||||
|
||||
class IsPinSetUsecase {
|
||||
final PinRepository repository;
|
||||
|
||||
IsPinSetUsecase(this.repository);
|
||||
|
||||
Future<bool> call() async {
|
||||
if (await repository.getSavedPin() == null) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
import 'package:be_happy/domain/repositories/pin_repository.dart';
|
||||
|
||||
import '../repositories/auth_repository.dart';
|
||||
|
||||
class IsPinSetUsecase {
|
||||
final PinRepository repository;
|
||||
|
||||
IsPinSetUsecase(this.repository);
|
||||
|
||||
Future<bool> call() async {
|
||||
if (await repository.getSavedPin() == null) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user