Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed May 16, 2024
1 parent 0d240c1 commit 0e0e5d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
1 change: 1 addition & 0 deletions src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub fn hline(ui: &egui::Ui) {
}

#[inline]
#[allow(unreachable_code)]
pub fn is_mobile() -> bool {
#[cfg(feature = "emulate_mobile")]
{
Expand Down

0 comments on commit 0e0e5d0

Please sign in to comment.