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

@@ -16,11 +16,11 @@ use egui::Margin;
use egui::{RichText, Stroke, UiBuilder};
use enostr::Pubkey;
use nostrdb::{Ndb, Transaction};
use notedeck::{ImageCache, NotedeckTextStyle};
use notedeck::{MediaCache, NotedeckTextStyle};
pub struct NavTitle<'a> {
ndb: &'a Ndb,
img_cache: &'a mut ImageCache,
img_cache: &'a mut MediaCache,
columns: &'a Columns,
routes: &'a [Route],
col_id: usize,
@@ -29,7 +29,7 @@ pub struct NavTitle<'a> {
impl<'a> NavTitle<'a> {
pub fn new(
ndb: &'a Ndb,
img_cache: &'a mut ImageCache,
img_cache: &'a mut MediaCache,
columns: &'a Columns,
routes: &'a [Route],
col_id: usize,