use iced_wgpu::core::{Element, Length, Padding, Theme}; use iced_widget::{column, container, text}; use crate::app::{App, Message}; use crate::ui::layout::{font_heading, font_small, gap_sm, u}; pub fn view<'a>(app: &'a App) -> Element<'a, Message, Theme, iced_wgpu::Renderer> { let fs = app.fs(); let title = text("Snapshots").size(font_heading(fs)); let empty = text("Snapshot browsing lands in the next pass.").size(font_small(fs)); container(column![title, empty].spacing(gap_sm(fs))) .padding(Padding::new(u(12.0, fs))) .width(Length::Fill) .into() }