mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 16:54:18 +01:00
fix(columns): render wide notes on narrow screen
This commit is contained in:
@@ -361,6 +361,10 @@ fn render_damus(
|
||||
app_ctx: &mut AppContext<'_>,
|
||||
ui: &mut egui::Ui,
|
||||
) -> Option<AppAction> {
|
||||
damus
|
||||
.note_options
|
||||
.set(NoteOptions::Wide, is_narrow(ui.ctx()));
|
||||
|
||||
let app_action = if notedeck::ui::is_narrow(ui.ctx()) {
|
||||
render_damus_mobile(damus, app_ctx, ui)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user