removing the lock screen notification visibility label from the settings
This commit is contained in:
parent
efc95ef9f6
commit
a5dc5c1bb8
3 changed files with 0 additions and 19 deletions
|
|
@ -771,14 +771,6 @@ fun Context.showMessageNotification(address: String, body: String, threadId: Lon
|
|||
notificationManager.notify(threadId.hashCode(), builder.build())
|
||||
}
|
||||
|
||||
fun Context.getLockScreenVisibilityText(type: Int) = getString(
|
||||
when (type) {
|
||||
LOCK_SCREEN_SENDER_MESSAGE -> R.string.sender_and_message
|
||||
LOCK_SCREEN_SENDER -> R.string.sender_only
|
||||
else -> R.string.nothing
|
||||
}
|
||||
)
|
||||
|
||||
fun Context.removeDiacriticsIfNeeded(text: String): String {
|
||||
return if (config.useSimpleCharacters) text.normalizeString() else text
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue