v1.4: faster rotation (12deg/frame = ~1 full spin per second)

This commit is contained in:
2026-05-22 16:02:33 +00:00
parent f6f7accfa5
commit 8965477cc7
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId = "me.khodak.claudeusage"
minSdk = 26
targetSdk = 34
versionCode = 4
versionName = "1.3"
versionCode = 5
versionName = "1.4"
}
signingConfigs {
@@ -47,8 +47,8 @@ class UsageUpdateWorker(
try {
while (true) {
ClaudeUsageWidget.currentRotation = (ClaudeUsageWidget.currentRotation + 6f) % 360f
totalDegrees += 6f
ClaudeUsageWidget.currentRotation = (ClaudeUsageWidget.currentRotation + 12f) % 360f
totalDegrees += 12f
ids.forEach { id -> ClaudeUsageWidget.updateWidget(context, manager, id) }
delay(33) // 30 fps, one full rotation per second
}