Remove "Show all devices" setting and always show all devices.

This commit removes the "Show all devices" toggle from General Settings. The app will now always display all nearby Bluetooth devices in the overview, simplifying the UI and device discovery.

The corresponding preference `core.showall.enabled` and its usage have been removed. The debug setting `showUnfiltered` no longer affects this behavior.
This commit is contained in:
darken
2025-09-29 13:36:21 +02:00
parent 15371e01ef
commit deb012600d
6 changed files with 2 additions and 39 deletions
@@ -35,8 +35,6 @@ class GeneralSettings @Inject constructor(
val scannerMode = preferences.createFlowPreference("core.scanner.mode", ScannerMode.BALANCED, moshi)
val showAll = preferences.createFlowPreference("core.showall.enabled", true)
val minimumSignalQuality = preferences.createFlowPreference("core.signal.minimum", 0.20f)
val mainDeviceAddress = preferences.createFlowPreference<BluetoothAddress?>("core.maindevice.address", null)
@@ -66,7 +64,6 @@ class GeneralSettings @Inject constructor(
useExtraMonitorNotification,
keepConnectedNotificationAfterDisconnect,
scannerMode,
showAll,
minimumSignalQuality,
mainDeviceAddress,
isOffloadedFilteringDisabled,
@@ -83,7 +83,6 @@ class AppleFactory @Inject constructor(
val factory = podFactories.firstOrNull { it.isResponsible(proximityMessage) }
return@withLock (factory ?: unknownAppleFactory).create(
scanResult = scanResult,
payload = payload,