Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Widgets: fix the usage-panel guard, the Solo state line and the List stripe colour

Rhytam Biswasde5413381853
diff --git a/android/app/src/main/kotlin/com/coucou/android/app/AppModel.kt b/android/app/src/main/kotlin/com/coucou/android/app/AppModel.kt
index 63ecf799..18ffdb87 100644
--- a/android/app/src/main/kotlin/com/coucou/android/app/AppModel.kt
+++ b/android/app/src/main/kotlin/com/coucou/android/app/AppModel.kt
@@ -670,7 +670,8 @@ class AppModel(private val context: Context) : LinkListener {
chatOffered = Protocol.CAP_CHAT in caps
detailsOffered = Protocol.CAP_DETAILS in caps
diffsOffered = Protocol.CAP_DIFFS in caps
- if (Protocol.CAP_USAGE !in caps) { usage = null; pushGlance() } // the Usage Ring says to turn it on
+ if (Protocol.CAP_USAGE !in caps) usage = null
+ pushGlance() // the Usage Ring says to turn it on
if (Protocol.CAP_SERVICES !in caps) services = emptyList()
}
}
diff --git a/android/app/src/main/kotlin/com/coucou/android/app/ListWidget.kt b/android/app/src/main/kotlin/com/coucou/android/app/ListWidget.kt
index 1fa5f142..1e77da37 100644
--- a/android/app/src/main/kotlin/com/coucou/android/app/ListWidget.kt
+++ b/android/app/src/main/kotlin/com/coucou/android/app/ListWidget.kt
@@ -81,7 +81,7 @@ class ListWidget : AppWidgetProvider() {
return@forEachIndexed
}
v.setViewVisibility(r.row, View.VISIBLE)
- v.setInt(r.stripe, "setColorFilter", tile.argb)
+ v.setInt(r.stripe, "setColorFilter", tile.tone.argb)
v.setImageViewBitmap(r.face, MochiBitmap.of(tile.state, face))
v.setContentDescription(r.face, context.getString(R.string.widget_mochi_description, tile.stateWord.lowercase()))
v.setTextViewText(r.name, tile.name)
diff --git a/android/app/src/main/res/layout/widget_solo.xml b/android/app/src/main/res/layout/widget_solo.xml
index 4c9a8b65..6f72551f 100644
--- a/android/app/src/main/res/layout/widget_solo.xml
+++ b/android/app/src/main/res/layout/widget_solo.xml
@@ -88,7 +88,7 @@
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center"
- android:maxLines="1"
+ android:maxLines="2"
android:textColor="@color/widget_text_secondary"
android:textSize="@dimen/widget_text_state" />
</LinearLayout>