mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 17:27:42 +00:00
WIP make things compile
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
id "org.jetbrains.kotlin.kapt"
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.1"
|
||||
buildToolsVersion '29.0.3'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
|
@@ -963,6 +963,7 @@ object TextSecurePreferences {
|
||||
return getStringPreference(context, THREAD_TRIM_LENGTH, "500")!!.toInt()
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun isSystemEmojiPreferred(context: Context): Boolean {
|
||||
return getBooleanPreference(context, SYSTEM_EMOJI_PREF, false)
|
||||
}
|
||||
|
@@ -269,4 +269,9 @@ object Util {
|
||||
return ""
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun isEmpty(collection: Collection<*>?): Boolean {
|
||||
return collection == null || collection.isEmpty()
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user