chore: call FolderEventSetLatestView when opening page on mobile (#5447)

* fix: call FolderEventSetLatestView when opening page on mobile

* chore: remove unused log
This commit is contained in:
Lucas.Xu
2024-06-03 09:10:02 +08:00
committed by GitHub
parent 4ad7c48b25
commit 2a59579c17
4 changed files with 46 additions and 31 deletions

View File

@ -169,12 +169,6 @@ pub extern "C" fn set_stream_port(notification_port: i64) -> i32 {
pub extern "C" fn set_log_stream_port(port: i64) -> i32 {
*LOG_STREAM_ISOLATE.lock() = Some(Isolate::new(port));
LOG_STREAM_ISOLATE
.lock()
.as_ref()
.unwrap()
.post("hello log".to_string().as_bytes().to_vec());
0
}