propagate Images to actionbar
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -516,6 +516,7 @@ fn chrome_handle_app_action(
|
|||||||
ctx.accounts,
|
ctx.accounts,
|
||||||
ctx.global_wallet,
|
ctx.global_wallet,
|
||||||
ctx.zaps,
|
ctx.zaps,
|
||||||
|
ctx.img_cache,
|
||||||
ui,
|
ui,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ use crate::{
|
|||||||
use enostr::{Pubkey, RelayPool};
|
use enostr::{Pubkey, RelayPool};
|
||||||
use nostrdb::{Ndb, NoteKey, Transaction};
|
use nostrdb::{Ndb, NoteKey, Transaction};
|
||||||
use notedeck::{
|
use notedeck::{
|
||||||
get_wallet_for_mut, note::ZapTargetAmount, Accounts, GlobalWallet, NoteAction, NoteCache,
|
get_wallet_for_mut, note::ZapTargetAmount, Accounts, GlobalWallet, Images, NoteAction,
|
||||||
NoteZapTargetOwned, UnknownIds, ZapAction, ZapTarget, ZappingError, Zaps,
|
NoteCache, NoteZapTargetOwned, UnknownIds, ZapAction, ZapTarget, ZappingError, Zaps,
|
||||||
};
|
};
|
||||||
use tracing::error;
|
use tracing::error;
|
||||||
|
|
||||||
@@ -34,6 +34,7 @@ fn execute_note_action(
|
|||||||
accounts: &mut Accounts,
|
accounts: &mut Accounts,
|
||||||
global_wallet: &mut GlobalWallet,
|
global_wallet: &mut GlobalWallet,
|
||||||
zaps: &mut Zaps,
|
zaps: &mut Zaps,
|
||||||
|
_images: &mut Images,
|
||||||
ui: &mut egui::Ui,
|
ui: &mut egui::Ui,
|
||||||
) -> Option<TimelineOpenResult> {
|
) -> Option<TimelineOpenResult> {
|
||||||
match action {
|
match action {
|
||||||
@@ -133,6 +134,7 @@ pub fn execute_and_process_note_action(
|
|||||||
accounts: &mut Accounts,
|
accounts: &mut Accounts,
|
||||||
global_wallet: &mut GlobalWallet,
|
global_wallet: &mut GlobalWallet,
|
||||||
zaps: &mut Zaps,
|
zaps: &mut Zaps,
|
||||||
|
images: &mut Images,
|
||||||
ui: &mut egui::Ui,
|
ui: &mut egui::Ui,
|
||||||
) {
|
) {
|
||||||
let router = columns.column_mut(col).router_mut();
|
let router = columns.column_mut(col).router_mut();
|
||||||
@@ -147,6 +149,7 @@ pub fn execute_and_process_note_action(
|
|||||||
accounts,
|
accounts,
|
||||||
global_wallet,
|
global_wallet,
|
||||||
zaps,
|
zaps,
|
||||||
|
images,
|
||||||
ui,
|
ui,
|
||||||
) {
|
) {
|
||||||
br.process(ndb, note_cache, txn, timeline_cache, unknown_ids);
|
br.process(ndb, note_cache, txn, timeline_cache, unknown_ids);
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ impl RenderNavResponse {
|
|||||||
ctx.accounts,
|
ctx.accounts,
|
||||||
ctx.global_wallet,
|
ctx.global_wallet,
|
||||||
ctx.zaps,
|
ctx.zaps,
|
||||||
|
ctx.img_cache,
|
||||||
ui,
|
ui,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user