feat(client): redesign native UI, themes, settings and avatars
Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
This commit is contained in:
parent
44d284a568
commit
8e5ab56611
276 changed files with 53546 additions and 3399 deletions
29
patches/zbus-lockstep/src/error.rs
vendored
Normal file
29
patches/zbus-lockstep/src/error.rs
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#[non_exhaustive]
|
||||
#[derive(Debug)]
|
||||
pub enum LockstepError {
|
||||
ArgumentNotFound(String),
|
||||
InterfaceNotFound(String),
|
||||
MemberNotFound(String),
|
||||
PropertyNotFound(String),
|
||||
}
|
||||
|
||||
impl std::error::Error for LockstepError {}
|
||||
|
||||
impl std::fmt::Display for LockstepError {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
LockstepError::ArgumentNotFound(name) => {
|
||||
write!(f, "Argument \"{name}\" not found.")
|
||||
}
|
||||
LockstepError::InterfaceNotFound(name) => {
|
||||
write!(f, "Interface \"{name}\" not found.")
|
||||
}
|
||||
LockstepError::MemberNotFound(name) => {
|
||||
write!(f, "Member \"{name}\" not found.")
|
||||
}
|
||||
LockstepError::PropertyNotFound(name) => {
|
||||
write!(f, "Property \"{name}\" not found.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue