some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import 'package:be_happy/domain/repositories/pin_repository.dart';
|
||||
|
||||
import '../repositories/auth_repository.dart';
|
||||
|
||||
class LogoutUseCase {
|
||||
final AuthRepository _authRepository;
|
||||
final PinRepository _pinRepository;
|
||||
|
||||
LogoutUseCase(this._authRepository, this._pinRepository);
|
||||
|
||||
Future<void> call() async {
|
||||
await _authRepository.logout();
|
||||
await _pinRepository.removePin();
|
||||
}
|
||||
import 'package:be_happy/domain/repositories/pin_repository.dart';
|
||||
|
||||
import '../repositories/auth_repository.dart';
|
||||
|
||||
class LogoutUseCase {
|
||||
final AuthRepository _authRepository;
|
||||
final PinRepository _pinRepository;
|
||||
|
||||
LogoutUseCase(this._authRepository, this._pinRepository);
|
||||
|
||||
Future<void> call() async {
|
||||
await _authRepository.logout();
|
||||
await _pinRepository.removePin();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user