Compare commits
No commits in common. "3a829df70e07927954f98f946390026682f9fdb1" and "6b96eb358de41884b9bf3aae64dbac25b8f2cee2" have entirely different histories.
3a829df70e
...
6b96eb358d
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user