Skip to content

Commit 2318eab

Browse files
committed
Return null on getUser
1 parent 709e914 commit 2318eab

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

feature/profile/data/src/commonMain/kotlin/zed/rainxch/profile/data/repository/ProfileRepositoryImpl.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ package zed.rainxch.profile.data.repository
22

33
import kotlinx.coroutines.Dispatchers
44
import kotlinx.coroutines.flow.Flow
5+
import kotlinx.coroutines.flow.flowOf
56
import kotlinx.coroutines.flow.flowOn
67
import zed.rainxch.core.data.data_source.TokenStore
78
import zed.rainxch.core.domain.repository.AuthenticationState
89
import zed.rainxch.feature.profile.data.BuildKonfig
10+
import zed.rainxch.profile.domain.model.UserProfile
911
import zed.rainxch.profile.domain.repository.ProfileRepository
1012

1113
class ProfileRepositoryImpl(
@@ -17,6 +19,10 @@ class ProfileRepositoryImpl(
1719
.isUserLoggedIn()
1820
.flowOn(Dispatchers.IO)
1921

22+
override fun getUser(): Flow<UserProfile?> {
23+
return flowOf(null)
24+
}
25+
2026
override fun getVersionName(): String {
2127
return BuildKonfig.VERSION_NAME
2228
}

0 commit comments

Comments
 (0)