The voice service's notification said "In voice on <server>" with Mute
and Disconnect, and the screen-sharing one only "Sharing your screen".
The voice notification now shows what the app's voice card shows: the
channel as its title, the server and how many are there ("Home · 3 in
voice", "just you"), the time in voice as a chronometer, and Mute,
Deafen and Leave, which act on every voice session as the old Mute did.
Several servers at once read "In voice on 2 servers" with their names.
Tapping it opens the voice channel screen (the activity forwards the
action to Rust, which queues it until the window runs). While our
stream is live the screen-sharing notification says where it goes and
how many watch ("Live in Chill Zone", "Home · 2 watching"). Both use
the app's accent colour.
The window takes such platform requests through a small inbox in
voelin-ui (`voelin_ui::request`), handled on the window's thread and
outside the app's borrow, since navigating calls back into Rust.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
361 B
Rust
23 lines
361 B
Rust
//! Slint user interface shared by the desktop binary and the mobile apps.
|
|
|
|
mod app;
|
|
mod appearance;
|
|
mod bind;
|
|
mod chat;
|
|
mod dev;
|
|
mod emoji;
|
|
mod hotkey;
|
|
mod images;
|
|
mod inbox;
|
|
mod members;
|
|
mod servers;
|
|
mod settings;
|
|
mod settings_page;
|
|
mod streams;
|
|
mod studio;
|
|
mod video;
|
|
mod vm;
|
|
|
|
pub use app::{HostedEngine, RunOptions, run};
|
|
pub use inbox::{Request, request};
|