aboutsummaryrefslogtreecommitdiff
path: root/iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-09-16 16:13:33 -0600
committerIván Ávalos <avalos@disroot.org>2023-09-16 16:13:33 -0600
commitbe1aa14b94e435488864aa77d895ad8d93865d7c (patch)
tree713cf49fb6e8516788a437a91730d7d56540a384 /iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift
parent6c69520fc2a968cb27d1f751f34a123205936567 (diff)
downloadetbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.tar.gz
etbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.tar.bz2
etbsa-trackermap-mobile-be1aa14b94e435488864aa77d895ad8d93865d7c.zip
- [shared] Downgrade Kotlin to 1.8.22 due to Native issues
- [shared] Upgrade Ktor to 2.3.4 and migrate code - [ios] Update view models to use @MainActor and Kotlin migrations
Diffstat (limited to 'iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift')
-rw-r--r--iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift b/iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift
index 8e1da00..82e9dd7 100644
--- a/iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift
+++ b/iosApp/iosApp/Details/Commands/UnitCommandsViewModel.swift
@@ -53,7 +53,7 @@ class UnitCommandsViewModel: ObservableObject {
func sendCommand() {
if let command = selected {
- commandsController.sendCommand(command: command) { _, error in
+ commandsController.sendCommand(command: command) { error in
if let error = error {
print("There is a fucking error")
print(error.localizedDescription)