Revert to private functions

This commit is contained in:
davidoskky 2023-09-12 00:38:37 +02:00
parent d8c215eacc
commit 4ad4a23ed8

View File

@ -99,8 +99,8 @@ class SelfossApi(private val appSettingsService: AppSettingsService) {
} }
// Api version was introduces after the POST login, so when there is a version, it should be available // Api version was introduces after the POST login, so when there is a version, it should be available
fun shouldHavePostLogin() = appSettingsService.getApiVersion() != -1 private fun shouldHavePostLogin() = appSettingsService.getApiVersion() != -1
fun hasLoginInfo() = private fun hasLoginInfo() =
appSettingsService.getUserName().isNotEmpty() && appSettingsService.getPassword() appSettingsService.getUserName().isNotEmpty() && appSettingsService.getPassword()
.isNotEmpty() .isNotEmpty()