Compare commits

..

No commits in common. "3a829df70e07927954f98f946390026682f9fdb1" and "6b96eb358de41884b9bf3aae64dbac25b8f2cee2" 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