Skip to content

Commit

Permalink
Add "<not present>" to useless subject filter
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Jun 8, 2018
1 parent 8777722 commit 18feee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/src/main/java/model/Message.kt
Expand Up @@ -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", "NoSubject")
val uselessSubjects = listOf("no subject", "NoSubject", "<not present>")

return if (uselessSubjects.contains(subject)) "" else subject
}
Expand Down

0 comments on commit 18feee7

Please sign in to comment.