Skip to content

Commit 20ee796

Browse files
committed
cleanups
1 parent 6581eb5 commit 20ee796

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/application.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,9 @@ impl NotifyApplication {
281281
impl models::NetworkMonitorProxy for Proxies {
282282
fn listen(&self) -> Pin<Box<dyn Stream<Item = ()>>> {
283283
let (tx, rx) = async_channel::bounded(1);
284-
let mut prev_available = Rc::new(Cell::new(false));
284+
let prev_available = Rc::new(Cell::new(false));
285285

286286
gio::NetworkMonitor::default().connect_network_changed(move |_, available| {
287-
dbg!("sent", available);
288287
if available && !prev_available.get() {
289288
if let Err(e) = tx.send_blocking(()) {
290289
warn!(error = %e);

0 commit comments

Comments
 (0)