Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: Island icon tint leaks between items: battery accent recolours network/status icons

未关闭
#1,602 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@sameerasw 已经在做这个了。

开始于 2026年10月28日。

  • #1604 来自 @TheSpicyTacoGuy —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

bug
Bug Description

Island items share a single icon tint, so an item that declares an accent colour recolours every
other icon in the island.

The clearest case is the battery. When charging, the battery correctly takes on the configured
charging colour - that part works as intended. But the network/signal icon changes to the same
colour too, which it shouldn't. Turning the battery charging colour off returns the network icon
to normal, confirming the battery is the source.

Related to #1558

Steps to Reproduce
  1. Enable the island with both the battery icon and the network/signal indicator shown.
  2. Set the battery charging colour in settings (or leave it on the default).
  3. Plug the device in to charge.
  4. Observe the network/signal icon - it takes on the battery's charging colour.
  5. Now disable the battery charging colour setting and observe the network icon returns to normal.
Expected Behavior

An item's accent colour should be scoped to that item. The battery turning green while charging
should not change the colour of the network, signal, or any other item's icons.

Screenshots
Battery and network icons both green while charging Network icon back to normal with battery charging colour disabled
Android Version

17

Device

Google Pixel 9 Pro XL

App Version

20.2

Additional Context

No response

主要语言
Kotlin
星标
3.2k
派生
87
平均合并
1 天 11 小时
30 天内合并 PR
197

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sameerasw/essentials 的其他 Issue

查看 sameerasw/essentials 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。