Loading app/src/main/java/foundation/e/apps/domain/common/repository/CommonRepository.kt +1 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,5 @@ interface CommonRepository { fun currentUser(): User fun cacheAuthData(): AuthData fun resetCachedData() fun clearAuthData() } app/src/main/java/foundation/e/apps/domain/common/repository/CommonRepositoryImpl.kt +4 −0 Original line number Diff line number Diff line Loading @@ -53,4 +53,8 @@ class CommonRepositoryImpl @Inject constructor( if (data.isEmpty()) throw Exception("Auth Data not available") return data.toAuthData() } override fun clearAuthData() { applicationContext.configurations.authData = "" } } Loading
app/src/main/java/foundation/e/apps/domain/common/repository/CommonRepository.kt +1 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,5 @@ interface CommonRepository { fun currentUser(): User fun cacheAuthData(): AuthData fun resetCachedData() fun clearAuthData() }
app/src/main/java/foundation/e/apps/domain/common/repository/CommonRepositoryImpl.kt +4 −0 Original line number Diff line number Diff line Loading @@ -53,4 +53,8 @@ class CommonRepositoryImpl @Inject constructor( if (data.isEmpty()) throw Exception("Auth Data not available") return data.toAuthData() } override fun clearAuthData() { applicationContext.configurations.authData = "" } }