notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 0e0e5d0eaa74e17ce7dfa477969f05b5ac009d93
parent 0d240c16a5337a349b3c63a67ea4814673ca2ec5
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 15 May 2024 20:53:17 -0700

fix clippy issues

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/app.rs | 2+-
Msrc/ui/mod.rs | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/app.rs b/src/app.rs @@ -9,7 +9,7 @@ use crate::timeline::{NoteRef, Timeline}; use crate::ui::is_mobile; use crate::Result; -use egui::{Context, Frame, Margin, Style}; +use egui::{Context, Frame, Style}; use egui_extras::{Size, StripBuilder}; use enostr::{ClientMessage, Filter, Pubkey, RelayEvent, RelayMessage}; diff --git a/src/ui/mod.rs b/src/ui/mod.rs @@ -48,6 +48,7 @@ pub fn hline(ui: &egui::Ui) { } #[inline] +#[allow(unreachable_code)] pub fn is_mobile() -> bool { #[cfg(feature = "emulate_mobile")] {