diff --git a/src/main.rs b/src/main.rs index 4dcb14f..9c8c882 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2627,9 +2627,11 @@ fn main() -> Result<(), Box> { if oxide.config.autohunt && !target_chans.values().any(|value| value.is_empty()) && hop_cycle >= autohunt_success_hop + 3 + && inside_geo // if we are autohunting // and target_chans has targets // and we have been hopping for 3 cycles after we found a target + // and geofence is good { // We are done auto-hunting. oxide.status_log.add_message(StatusMessage::new( diff --git a/src/ui.rs b/src/ui.rs index 929f9c9..3661cd4 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -600,7 +600,9 @@ fn create_status_bar( let channel = format!( "Frequency: {} {}", oxide.if_hardware.interface.frequency.clone().print(), - if oxide.config.autohunt { + if oxide.ui_state.geofenced { + "(GeoFenced)" + } else if oxide.config.autohunt { "(Hunting)" } else if oxide.if_hardware.locked { "(Locked)"