removing the lock screen notification visibility label from the settings

This commit is contained in:
tibbi 2021-11-13 10:26:56 +01:00
parent efc95ef9f6
commit a5dc5c1bb8
3 changed files with 0 additions and 19 deletions

View file

@ -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
}