mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: handle is none
This commit is contained in:
@@ -10,8 +10,8 @@ pub struct Handle {
|
||||
}
|
||||
|
||||
impl Handle {
|
||||
pub fn from(app_handle: Option<AppHandle>) -> Handle {
|
||||
Handle { app_handle }
|
||||
pub fn set_inner(&mut self, app_handle: AppHandle) {
|
||||
self.app_handle = Some(app_handle);
|
||||
}
|
||||
|
||||
pub fn get_window(&self) -> Option<Window> {
|
||||
|
||||
Reference in New Issue
Block a user