mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-01-11 22:40:32 +00:00
Rename _handle to handle in webview events
This commit is contained in:
parent
0d6b8f23b5
commit
70d67a2aa2
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue