summaryrefslogtreecommitdiff
path: root/ios/app
diff options
context:
space:
mode:
authorJason Wray <jason@kulturny.com>2015-04-09 00:03:17 -0700
committerJason Wray <jason@kulturny.com>2015-04-09 00:03:17 -0700
commitbe599fa385baf2bedd2d788737282c84d8737a0f (patch)
tree3178fd82a3550bd95dc6bb34fd342da9316572cb /ios/app
parent56cd67407701ecce010a3d0af75a2c8d5bdb5a2c (diff)
downloadqtlocation-mapboxgl-be599fa385baf2bedd2d788737282c84d8737a0f.tar.gz
Animate the thing, I'm not an animal
Diffstat (limited to 'ios/app')
-rw-r--r--ios/app/MBXViewController.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm
index fc7ad3cb57..a26d723889 100644
--- a/ios/app/MBXViewController.mm
+++ b/ios/app/MBXViewController.mm
@@ -308,7 +308,9 @@ mbgl::Settings_NSUserDefaults *settings = nullptr;
break;
}
- self.navigationItem.rightBarButtonItem.image = newButtonImage;
+ [UIView animateWithDuration:0.25 animations:^{
+ self.navigationItem.rightBarButtonItem.image = newButtonImage;
+ }];
}
#pragma clang diagnostic pop