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
33
patches/accesskit_atspi_common/src/error.rs
vendored
Normal file
33
patches/accesskit_atspi_common/src/error.rs
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
// Copyright 2022 The AccessKit Authors. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (found in
|
||||
// the LICENSE-APACHE file) or the MIT license (found in
|
||||
// the LICENSE-MIT file), at your option.
|
||||
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Defunct,
|
||||
UnsupportedInterface,
|
||||
TooManyChildren,
|
||||
IndexOutOfRange,
|
||||
TooManyCharacters,
|
||||
UnsupportedTextGranularity,
|
||||
}
|
||||
|
||||
impl fmt::Display for Error {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.write_str(match self {
|
||||
Self::Defunct => "defunct",
|
||||
Self::UnsupportedInterface => "unsupported interface",
|
||||
Self::TooManyChildren => "too many children",
|
||||
Self::IndexOutOfRange => "index out of range",
|
||||
Self::TooManyCharacters => "too many characters",
|
||||
Self::UnsupportedTextGranularity => "unsupported text granularity",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl std::error::Error for Error {}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue