Further fixes to settings

This commit is contained in:
Mario Danic 2019-12-08 15:41:07 +01:00
parent c7989f04ce
commit c3a9cca12d
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0
3 changed files with 743 additions and 725 deletions

View File

@ -61,4 +61,8 @@ class UsersRepositoryImpl(val usersDao: UsersDao): UsersRepository {
usersDao.deleteUserWithId(id) usersDao.deleteUserWithId(id)
} }
override suspend fun setAnyUserAsActive(): Boolean {
return usersDao.setAnyUserAsActive()
}
} }

View File

@ -32,4 +32,5 @@ interface UsersRepository {
suspend fun updateUser(user: UserNgEntity): Int suspend fun updateUser(user: UserNgEntity): Int
suspend fun setUserAsActiveWithId(id: Long) suspend fun setUserAsActiveWithId(id: Long)
suspend fun deleteUserWithId(id: Long) suspend fun deleteUserWithId(id: Long)
suspend fun setAnyUserAsActive(): Boolean
} }