refactor: app_data methods re-ordered & renamed

This commit is contained in:
Jack Wills
2023-01-29 01:52:38 +00:00
parent 690bd01ba1
commit c0bb5355d6
5 changed files with 226 additions and 218 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ impl InputHandler {
if let Some(command) = option_command {
let option_id = self.app_data.lock().get_selected_container_id();
// Poor way of disallowing commands to be sent to a containerised okxer
if self.app_data.lock().selected_container_is_oxker() {
if self.app_data.lock().is_oxker() {
return;
};
if let Some(id) = option_id {