fix: is_oxker_in_container()

Check is both is_oxker and running in a container, so that oxker container commands will only be ignored if both are true
This commit is contained in:
Jack Wills
2024-01-13 23:01:22 +00:00
parent 52d1610ac6
commit a34c046dee
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ impl InputHandler {
if let Some(command) = option_command {
// Poor way of disallowing commands to be sent to a containerised okxer
if self.app_data.lock().is_oxker() {
if self.app_data.lock().is_oxker_in_container() {
return;
};
let option_id = self.app_data.lock().get_selected_container_id();