feat: 워치 스킨에 기온·비 칩, 링을 누르면 그 각 상세로 열기, 앱 첫 장 제거
- 스킨 아래 기온·비 소식 칩, 날짜는 시계 밑으로. 빗줄기·눈송이는 비 소식 문구 기준 - 링·가운데 1위 탭 → 앱이 새로 열리며 그 각 상세 장부터 - 앱 첫 장(해 구슬·링)은 스킨과 겹쳐 삭제, 앱은 오늘의 각부터 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b72206f7ee
commit
7671dbeb19
11 files changed
+117
-237
No files matched your search
@@ -13,7 +13,7 @@ open class RankComplicationService(private val rank: Int) : SuspendingComplicati
|
||||
override suspend fun onComplicationRequest(request: ComplicationRequest): ComplicationData? {
|
||||
val s = withContext(Dispatchers.IO) { SummaryRepo.load(this@RankComplicationService) } ?: return null
|
||||
val g = s.top.getOrNull(rank - 1) ?: return null
|
||||
return gakData(this, request.complicationType, g.score.toString(), g.name, g.score, g.icon)
|
||||
return gakData(this, request.complicationType, g.score.toString(), g.name, g.score, g.icon, g.code)
|
||||
}
|
||||
|
||||
override fun getPreviewData(type: ComplicationType): ComplicationData = gakData(this, type, "${90 - rank * 2}", "${rank}위", 90 - rank * 2, "sun_cloud")
|
||||
|
||||
Reference in new issue
Block a user