diff --git a/data/ui/views/media_viewer.ui b/data/ui/views/media_viewer.ui index 233fbefff..8dcf9fb0e 100644 --- a/data/ui/views/media_viewer.ui +++ b/data/ui/views/media_viewer.ui @@ -85,8 +85,8 @@ 0 end start - 18 - 18 + 18 + 18 horizontal @@ -127,8 +127,8 @@ 0 end end - 18 - 18 + 18 + 18 horizontal diff --git a/src/Views/MediaViewer.vala b/src/Views/MediaViewer.vala index 60c22acac..2215a8647 100644 --- a/src/Views/MediaViewer.vala +++ b/src/Views/MediaViewer.vala @@ -862,9 +862,8 @@ public class Tuba.Views.MediaViewer : Gtk.Widget, Gtk.Buildable, Adw.Swipeable { private void on_carousel_n_pages_changed () { bool has_more_than_1_item = carousel.n_pages > 1; + page_buttons_revealer.visible = has_more_than_1_item; carousel_dots.visible = has_more_than_1_item; - prev_btn.visible = has_more_than_1_item; - next_btn.visible = has_more_than_1_item; } public void on_zoom_change () {