We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701504c commit bb5722eCopy full SHA for bb5722e
wearApp/src/main/java/dev/johnoreilly/confetti/wear/tile/TileSync.kt
@@ -23,18 +23,6 @@ class TileSync(
23
registry.dataClient
24
.putDataItem(PutDataRequest.create("/tile_tracking_enabled")).await()
25
26
- val myTilesList = listOf(
27
- CurrentSessionsTileService::class.java.name,
28
- )
29
-
30
- val activeTiles = TileService.getActiveTilesAsync(context, executor).await()
31
32
- for (tileName in myTilesList) {
33
- if (activeTiles.any { it.componentName.className == tileName }) {
34
- wearAppHelper.markTileAsInstalled(tileName)
35
- } else {
36
- wearAppHelper.markTileAsRemoved(tileName)
37
- }
38
+ wearAppHelper.updateInstalledTiles()
39
}
40
0 commit comments