Skip to content

Commit

Permalink
Update to latest robius-location for linux build compat.
Browse files Browse the repository at this point in the history
Disable send location button by default; it will be enabled upon
receiving a valid location update.
  • Loading branch information
kevinaboos committed Oct 11, 2024
1 parent 1f0e27e commit 3dd291c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/home/room_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,8 @@ live_design! {
}

send_location_button = <RobrixIconButton> {
// disabled by default; will be enabled upon receiving valid location update.
enabled: false,
padding: {left: 15, right: 15}
draw_icon: {
svg_file: (ICO_SEND)
Expand Down

0 comments on commit 3dd291c

Please sign in to comment.