rename ImageCache -> MediaCache

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-02-15 23:06:45 -05:00
parent bf68eb3ea8
commit 4f4a0feb8c
26 changed files with 94 additions and 94 deletions

View File

@@ -17,7 +17,7 @@ use crate::{
Damus,
};
use notedeck::{AppContext, ImageCache, NotedeckTextStyle, UserAccount};
use notedeck::{AppContext, MediaCache, NotedeckTextStyle, UserAccount};
use tokenator::{ParseError, TokenParser, TokenSerializable, TokenWriter};
use super::{anim::AnimationHelper, padding, ProfilePreview};
@@ -163,7 +163,7 @@ impl AddColumnOption {
pub struct AddColumnView<'a> {
key_state_map: &'a mut HashMap<Id, AcquireKeyState>,
ndb: &'a Ndb,
img_cache: &'a mut ImageCache,
img_cache: &'a mut MediaCache,
cur_account: Option<&'a UserAccount>,
}
@@ -171,7 +171,7 @@ impl<'a> AddColumnView<'a> {
pub fn new(
key_state_map: &'a mut HashMap<Id, AcquireKeyState>,
ndb: &'a Ndb,
img_cache: &'a mut ImageCache,
img_cache: &'a mut MediaCache,
cur_account: Option<&'a UserAccount>,
) -> Self {
Self {