You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
215 B
8 lines
215 B
6 years ago
|
package com.keylesspalace.tusky.util
|
||
|
|
||
|
import android.content.SharedPreferences
|
||
|
|
||
|
fun SharedPreferences.getNonNullString(key: String, defValue: String): String {
|
||
|
return this.getString(key, defValue) ?: defValue
|
||
|
}
|