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