Skip to content

Commit

Permalink
fix: new patch for sizing screen issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jun 26, 2023
1 parent 919015b commit 455b8ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ virtual_joystick = "*" # Add your version
To solve [sizing issue](#user-content-issues)
```
[patch.crates-io]
android-activity = { git = "https://github.com/MarijnS95/android-activity/", branch = "na-resize"}
android-activity = { git = "https://github.com/rust-mobile/android-activity", rev = "79e03e08fbf70e374cb88d8ef8c89acaa006bbfc" }
```

The minimal requirement:
Expand Down Expand Up @@ -264,7 +264,7 @@ struct VirtualJoystickBundle {
> **Note**: Temporary solution, add this to your Cargo.toml
```rs
[patch.crates-io]
android-activity = { git = "https://github.com/MarijnS95/android-activity/", branch = "na-resize"}
android-activity = { git = "https://github.com/rust-mobile/android-activity", rev = "79e03e08fbf70e374cb88d8ef8c89acaa006bbfc" }
```

# TODOs
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_mobile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ label = "Simple Joystick"
# Important: this solve the [issue](https://github.com/bevyengine/bevy/issues/8322)
#
[patch.crates-io]
android-activity = { git = "https://github.com/MarijnS95/android-activity/", branch = "na-resize"}
android-activity = { git = "https://github.com/rust-mobile/android-activity", rev = "79e03e08fbf70e374cb88d8ef8c89acaa006bbfc" }

0 comments on commit 455b8ba

Please sign in to comment.