Fix type mismatch

This commit is contained in:
arkon 2020-03-01 18:27:09 -05:00
parent 37f61f602b
commit 18f0c3c221
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ open class NewToki(override val name: String, private val defaultBaseUrl: String
screen.addPreference(baseUrlPref) screen.addPreference(baseUrlPref)
} }
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl) private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)!!
companion object { companion object {
private const val BASE_URL_PREF_TITLE = "Override BaseUrl" private const val BASE_URL_PREF_TITLE = "Override BaseUrl"