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:
@@ -756,6 +756,7 @@ object TextSecurePreferences {
|
||||
setStringPreference(context, MMSC_PASSWORD_PREF, value)
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun getMmsUserAgent(context: Context, defaultUserAgent: String): String {
|
||||
val useCustom: Boolean = getBooleanPreference(context, MMS_CUSTOM_USER_AGENT, false)
|
||||
return if (useCustom) getStringPreference(context, MMS_USER_AGENT, defaultUserAgent)!! else defaultUserAgent
|
||||
|
Reference in New Issue
Block a user