diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-02-07 01:54:59 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-02-07 01:54:59 -0600 |
commit | 4deec59962afcaabd6f136b71fbd654e7526efad (patch) | |
tree | 2c1647991144c1200a17bd254817de30cbfc87de /androidApp/src/main/java/mx/trackermap/TrackerMap/android/details | |
parent | 4f0129a70bafeca1d9e565ba2076213eb183c779 (diff) | |
download | etbsa-trackermap-mobile-4deec59962afcaabd6f136b71fbd654e7526efad.tar.gz etbsa-trackermap-mobile-4deec59962afcaabd6f136b71fbd654e7526efad.tar.bz2 etbsa-trackermap-mobile-4deec59962afcaabd6f136b71fbd654e7526efad.zip |
Removed now unnecessary CommandsApi on Android app
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/details')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsViewModel.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsViewModel.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsViewModel.kt index 312d67e..d1b1e69 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsViewModel.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsViewModel.kt @@ -23,16 +23,13 @@ import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.DelicateCoroutinesApi import kotlinx.coroutines.launch -import mx.trackermap.TrackerMap.client.apis.CommandsApi import mx.trackermap.TrackerMap.client.models.Command import mx.trackermap.TrackerMap.controllers.CommandsController import org.koin.core.component.KoinComponent import org.koin.core.component.inject @DelicateCoroutinesApi -class UnitCommandsViewModel( - private val commandsApi: CommandsApi -) : ViewModel(), KoinComponent { +class UnitCommandsViewModel : ViewModel(), KoinComponent { private val commandsController: CommandsController by inject() |