Skip to content

Commit

Permalink
app: disable numbers in menu cos they look ugly
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfi committed Jan 25, 2025
1 parent 6d93260 commit 0133a33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions bin/app/src/app/schema/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,10 @@ pub async fn make(app: &App, window: SceneNodePtr) {
layer_node.clone().link(node);

// Desktop platforms
#[cfg(any(target_os = "macos", target_os = "windows", target_os = "linux"))]
let text = format!("{}. #{channel}", i + 1);

// Mobile platforms
#[cfg(any(target_os = "android", target_os = "ios"))]
//#[cfg(any(target_os = "macos", target_os = "windows", target_os = "linux"))]
//let text = format!("{}. #{channel}", i + 1);
//// Mobile platforms
//#[cfg(any(target_os = "android", target_os = "ios"))]
let text = "#".to_string() + channel;

// Create some text
Expand Down
3 changes: 2 additions & 1 deletion bin/app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ fn main() {
let async_runtime = app::AsyncRuntime::new(ex.clone());
async_runtime.start();

if cfg!(features = "enable-netdebug") {
#[cfg(feature = "enable-netdebug")]
{
let sg_root2 = sg_root.clone();
let ex2 = ex.clone();
let zmq_task = ex.spawn(async {
Expand Down

0 comments on commit 0133a33

Please sign in to comment.