Tentative self signed ssl support #141
@ -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
|
||||
fun shouldHavePostLogin() = appSettingsService.getApiVersion() != -1
|
||||
fun hasLoginInfo() =
|
||||
private fun shouldHavePostLogin() = appSettingsService.getApiVersion() != -1
|
||||
|
||||
private fun hasLoginInfo() =
|
||||
appSettingsService.getUserName().isNotEmpty() && appSettingsService.getPassword()
|
||||
.isNotEmpty()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user
These two should be reverted to private.