Skip to content

Commit 14ef306

Browse files
authored
Fixed - Hardcoded android as device at CustomCommandAction (#140)
1 parent eec3f7b commit 14ef306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MiniSim/Service/Actions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class CustomCommandAction: Action {
7676
}
7777

7878
func execute() throws {
79-
if let command = CustomCommandService.getCustomCommand(platform: .android, commandName: itemName) {
79+
if let command = CustomCommandService.getCustomCommand(platform: device.platform, commandName: itemName) {
8080
try CustomCommandService.runCustomCommand(device, command: command)
8181
}
8282
}

0 commit comments

Comments
 (0)