mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-22 18:54:19 +01:00
Merge remote-tracking branch 'github/pr/1031'
This commit is contained in:
@@ -362,6 +362,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 {
|
||||
|
||||
@@ -783,6 +783,7 @@ fn render_note_actionbar(
|
||||
i18n: &mut Localization,
|
||||
) -> egui::InnerResponse<Option<NoteAction>> {
|
||||
ui.horizontal(|ui| {
|
||||
ui.label(RichText::new("").text_style(egui::TextStyle::Small));
|
||||
ui.set_min_height(26.0);
|
||||
ui.spacing_mut().item_spacing.x = 24.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user