From 3dd291c9d2e854b062dc7a9e0c05dbc0300550c6 Mon Sep 17 00:00:00 2001 From: Kevin Boos Date: Fri, 11 Oct 2024 15:28:05 -0700 Subject: [PATCH] Update to latest `robius-location` for linux build compat. Disable send location button by default; it will be enabled upon receiving a valid location update. --- Cargo.lock | 2 +- src/home/room_screen.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 00aa9dc8..19d146a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3096,7 +3096,7 @@ dependencies = [ [[package]] name = "robius-location" version = "0.1.0" -source = "git+https://github.com/project-robius/robius-location#d47bd115f50247b98787efc72236dc65ab9c53bc" +source = "git+https://github.com/project-robius/robius-location#befe4f9b1d0bde0ba210af3b94aed809fc51525f" dependencies = [ "android-build", "cfg-if", diff --git a/src/home/room_screen.rs b/src/home/room_screen.rs index fb0faa56..e1cd6206 100644 --- a/src/home/room_screen.rs +++ b/src/home/room_screen.rs @@ -734,6 +734,8 @@ live_design! { } send_location_button = { + // disabled by default; will be enabled upon receiving valid location update. + enabled: false, padding: {left: 15, right: 15} draw_icon: { svg_file: (ICO_SEND)