forked from boostcampwm-2022/android04-BEEP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues boostcampwm-2022#287 feat: SAA 구조로 변경 Intro -> Fragment 로 변경
- Loading branch information
Showing
7 changed files
with
17 additions
and
80 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
domain/src/main/java/com/lighthouse/domain/usecase/user/IsLoginUserUseCase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.lighthouse.domain.usecase.user | ||
|
||
import com.lighthouse.domain.repository.user.UserRepository | ||
import kotlinx.coroutines.flow.Flow | ||
import javax.inject.Inject | ||
|
||
class IsLoginUserUseCase @Inject constructor( | ||
private val userRepository: UserRepository | ||
) { | ||
|
||
suspend operator fun invoke(): Boolean { | ||
operator fun invoke(): Flow<Boolean> { | ||
return userRepository.isLogin() | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
features/ui-intro/src/main/java/com/lighthouse/features/intro/di/IntroNav.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.