add voice_call start_pa
This commit is contained in:
parent
4a648f0068
commit
f2a612c3d9
4 changed files with 2 additions and 12 deletions
|
|
@ -1839,11 +1839,6 @@ pub fn main_is_login_wayland() -> SyncReturn<bool> {
|
|||
SyncReturn(is_login_wayland())
|
||||
}
|
||||
|
||||
pub fn main_start_pa() {
|
||||
#[cfg(target_os = "linux")]
|
||||
std::thread::spawn(crate::ipc::start_pa);
|
||||
}
|
||||
|
||||
pub fn main_hide_docker() -> SyncReturn<bool> {
|
||||
#[cfg(target_os = "macos")]
|
||||
crate::platform::macos::hide_dock();
|
||||
|
|
|
|||
|
|
@ -1268,6 +1268,8 @@ impl<T: InvokeUiSession> Session<T> {
|
|||
|
||||
#[inline]
|
||||
pub fn request_voice_call(&self) {
|
||||
#[cfg(target_os = "linux")]
|
||||
std::thread::spawn(crate::ipc::start_pa);
|
||||
self.send(Data::NewVoiceCall);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue