fix transaction crash regression when opening thread
small oversight Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -267,7 +267,8 @@ fn try_process_event(damus: &mut Damus, ctx: &egui::Context) -> Result<()> {
|
||||
let src = TimelineSource::column(timeline);
|
||||
|
||||
if let Ok(true) = is_timeline_ready(damus, timeline) {
|
||||
if let Err(err) = src.poll_notes_into_view(damus) {
|
||||
let txn = Transaction::new(&damus.ndb).expect("txn");
|
||||
if let Err(err) = src.poll_notes_into_view(&txn, damus) {
|
||||
error!("poll_notes_into_view: {err}");
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user