chore: improve performance (#42)
* use uniform list for rooms list * move profile cache to outside gpui context * update comment * refactor * refactor * . * . * add avatar component * . * refactor * .
This commit is contained in:
@@ -27,12 +27,8 @@ pub const DEFAULT_MODAL_WIDTH: f32 = 420.;
|
||||
/// Default width of the sidebar.
|
||||
pub const DEFAULT_SIDEBAR_WIDTH: f32 = 280.;
|
||||
|
||||
/// Total remote images will be cached
|
||||
pub const IMAGE_CACHE_LIMIT: usize = 50;
|
||||
|
||||
/// Image Resizer Service.
|
||||
/// Use for resize all remote images (ex: avatar, banner,...) on-the-fly.
|
||||
pub const IMAGE_SERVICE: &str = "https://wsrv.nl";
|
||||
/// Image Resize Service
|
||||
pub const IMAGE_RESIZE_SERVICE: &str = "https://wsrv.nl";
|
||||
|
||||
/// NIP96 Media Server.
|
||||
pub const NIP96_SERVER: &str = "https://nostrmedia.com";
|
||||
|
||||
Reference in New Issue
Block a user