Skip to content

Commit

Permalink
Rename _handle to handle in webview events
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Jan 21, 2025
1 parent 0d6b8f2 commit 70d67a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stremio_app/stremio_wevbiew/wevbiew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 70d67a2

Please sign in to comment.