leboncoin/spark-android

[FR]: Fix compilation errors in Chip.md example

クローズ

#2,104 opened on 2026/07/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Kotlin (31 件のフォーク)auto 404
componentdocumentationgood first issuepriority:HIGH

Repository metrics

Stars
 (85 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the problem

The multiple-selection code example in Chip.md has two errors:

  1. filter.name called on a String (String has no .name property)
  2. Assignment to unionSelected which is never declared (the variable is selectedFilters)

Describe the solution

Fix both lines:

text = filter,
selectedFilters = if (selected) selectedFilters - filter else selectedFilters + filter

Additional context

Priority: High. Effort: XS.

コントリビューターガイド