Compare commits

..

No commits in common. "af072fd99b525614d3b4fa7b113a2d53f60c90a8" and "7a0202689f864e566331c85512157c983efc3111" have entirely different histories.

View File

@ -83,15 +83,7 @@ class FilterSheetFragment :
val sourceGroup = binding.sourcesGroup val sourceGroup = binding.sourcesGroup
repository.getSourcesDetailsOrStats().forEachIndexed { _, source -> repository.getSourcesDetailsOrStats().forEachIndexed { _, source ->
val c: Chip? = val c = Chip(context)
maybeIfContext {
Chip(it)
} as Chip?
if (c == null) {
return
}
c.ellipsize = TextUtils.TruncateAt.END c.ellipsize = TextUtils.TruncateAt.END
maybeIfContext { maybeIfContext {
@ -153,11 +145,7 @@ class FilterSheetFragment :
val tags = repository.getTags() val tags = repository.getTags()
tags.forEachIndexed { _, tag -> tags.forEachIndexed { _, tag ->
val c: Chip? = maybeIfContext { Chip(it) } as Chip? val c = Chip(context)
if (c == null) {
return
}
c.ellipsize = TextUtils.TruncateAt.END c.ellipsize = TextUtils.TruncateAt.END
c.text = tag.tag c.text = tag.tag