Skip to content

Commit

Permalink
fix: setMaxAnimationFps on null (#440)
Browse files Browse the repository at this point in the history
* fix: setMaxAnimationFps on null
* fix: Mention PR in CHANGELOG

---------

Co-authored-by: Marek Meissner <[email protected]>
  • Loading branch information
marekmeissner and EXTMM authored Sep 11, 2024
1 parent e028236 commit 2884256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ PR Title ([#123](link to my pr))
```

fix: [fix: setMaxAnimationFps on null]([#440](https://github.com/maplibre/maplibre-react-native/pull/440))

## 10.0.0-alpha.12

Specify in install.md the correct SPM variable name to use a different native iOS library version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void setRenderMode(@RenderMode.Mode int renderMode) {
}

public void setPreferredFramesPerSecond(int preferredFramesPerSecond) {
if(preferredFramesPerSecond <= 0) {
if(mLocationComponent == null || preferredFramesPerSecond <= 0) {
return;
}

Expand Down

0 comments on commit 2884256

Please sign in to comment.