Browse Source

fix: resolve remaining compilation errors

- 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 <noreply@anthropic.com>
feature/modern-capture-ui
Quildra 5 months ago
parent
commit
6c5c1f9af5
  1. 2
      app/src/main/java/com/quillstudios/pokegoalshelper/ScreenCaptureService.kt
  2. 6
      app/src/main/java/com/quillstudios/pokegoalshelper/ui/FloatingUIActivity.kt

2
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(

6
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..."

Loading…
Cancel
Save