diff options
Diffstat (limited to 'app/src/main/java/foundation/e')
-rw-r--r-- | app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationState.kt | 1 | ||||
-rw-r--r-- | app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationViewModel.kt | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationState.kt b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationState.kt index fc4e0ab..132d5f6 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationState.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationState.kt @@ -27,7 +27,6 @@ data class FakeLocationState( val altitude: Float? = null, val speed: Float? = null, val jitter: Float? = null, - val joystick: Boolean = false, val specificLatitude: Float? = null, val specificLongitude: Float? = null, val forceRefresh: Boolean = false, diff --git a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationViewModel.kt b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationViewModel.kt index 702b252..2a74a67 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationViewModel.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationViewModel.kt @@ -92,7 +92,6 @@ class FakeLocationViewModel( is Action.UseRealLocationAction -> fakeLocationStateUseCase.stopFakeLocation() is Action.UpdateMockLocationParameters -> updateMockLocationParameters(action) - is Action.UseJoystick -> enableJoystick() } } @@ -111,10 +110,6 @@ class FakeLocationViewModel( mockLocationParametersInputFlow.emit(action) } - private suspend fun enableJoystick() { - - } - sealed class SingleEvent { object RequestLocationPermission : SingleEvent() data class ErrorEvent(val error: String) : SingleEvent() @@ -125,7 +120,6 @@ class FakeLocationViewModel( object StopListeningLocation : Action() object UseRealLocationAction : Action() object UseRandomLocationAction : Action() - object UseJoystick : Action() data class UpdateMockLocationParameters( val altitude: Float, val speed: Float, |