From 70d67a2aa28cdbcb04475db467f036384ab57eb4 Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Tue, 21 Jan 2025 15:56:24 +0200 Subject: [PATCH] Rename _handle to handle in webview events --- src/stremio_app/stremio_wevbiew/wevbiew.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stremio_app/stremio_wevbiew/wevbiew.rs b/src/stremio_app/stremio_wevbiew/wevbiew.rs index 51bcd66..2ccd4b0 100644 --- a/src/stremio_app/stremio_wevbiew/wevbiew.rs +++ b/src/stremio_app/stremio_wevbiew/wevbiew.rs @@ -196,10 +196,10 @@ impl PartialUi for WebView { &self, evt: nwg::Event, _evt_data: &nwg::EventData, - _handle: nwg::ControlHandle, + handle: nwg::ControlHandle, ) { use nwg::Event as E; - if evt == E::OnNotice && _handle == self.notice.handle { + if evt == E::OnNotice && handle == self.notice.handle { let message_queue = self.message_queue.clone(); if let Some(controller) = self.controller.get() { let webview = controller.get_webview().expect("Cannot get vebview");