mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Add "NoSubject" to list of useless subjects
This commit is contained in:
@@ -133,7 +133,7 @@ open class Message : RealmObject() {
|
||||
* Cleanses the subject in case it's useless, so that the UI doesn't have to show it
|
||||
*/
|
||||
fun getCleansedSubject(): String {
|
||||
val uselessSubjects = listOf("no subject")
|
||||
val uselessSubjects = listOf("no subject", "NoSubject")
|
||||
|
||||
return if (uselessSubjects.contains(subject)) "" else subject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user