From 6c5c1f9af57f7b2b9bcffde7557c030698b544b8 Mon Sep 17 00:00:00 2001 From: Quildra Date: Fri, 1 Aug 2025 07:57:32 +0100 Subject: [PATCH] fix: resolve remaining compilation errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove duplicate onBind method in ScreenCaptureService - Replace missing Material Icons with basic available icons: - SportsTennis → RadioButtonUnchecked (pokeball) - Apps/GridView → List (all items) - PhotoCamera → Camera (main button) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../quillstudios/pokegoalshelper/ScreenCaptureService.kt | 2 -- .../quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/quillstudios/pokegoalshelper/ScreenCaptureService.kt b/app/src/main/java/com/quillstudios/pokegoalshelper/ScreenCaptureService.kt index 7db373d..0e642f6 100644 --- a/app/src/main/java/com/quillstudios/pokegoalshelper/ScreenCaptureService.kt +++ b/app/src/main/java/com/quillstudios/pokegoalshelper/ScreenCaptureService.kt @@ -209,8 +209,6 @@ class ScreenCaptureService : Service() { return START_STICKY } - override fun onBind(intent: Intent?): IBinder? = null - private fun createNotificationChannel() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { val channel = NotificationChannel( diff --git a/app/src/main/java/com/quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt b/app/src/main/java/com/quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt index b920efb..6ff05e1 100644 --- a/app/src/main/java/com/quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt +++ b/app/src/main/java/com/quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt @@ -213,7 +213,7 @@ fun FloatingFABInterface( ) MenuFABItem( - icon = Icons.Default.Circle, + icon = Icons.Default.RadioButtonUnchecked, label = "POKEBALL", containerColor = MaterialTheme.colorScheme.error, onClick = { @@ -225,7 +225,7 @@ fun FloatingFABInterface( ) MenuFABItem( - icon = Icons.Default.Apps, + icon = Icons.Default.List, label = "ALL", containerColor = MaterialTheme.colorScheme.secondary, onClick = { @@ -310,7 +310,7 @@ fun MainFloatingActionButton( imageVector = when { isProcessing -> Icons.Default.Refresh isMenuExpanded -> Icons.Default.Close - else -> Icons.Default.PhotoCamera + else -> Icons.Default.Camera }, contentDescription = when { isProcessing -> "Processing..."