| Index: examples/dart/camera_roll/lib/main.dart
|
| diff --git a/examples/dart/camera_roll/lib/main.dart b/examples/dart/camera_roll/lib/main.dart
|
| index d0ab8a711419acff13406842d88a11df49dd58de..53f5a2d08a47843ed06cbb166c44818ef6d378e0 100644
|
| --- a/examples/dart/camera_roll/lib/main.dart
|
| +++ b/examples/dart/camera_roll/lib/main.dart
|
| @@ -54,11 +54,11 @@ void beginFrame(double timeStamp) {
|
| }
|
|
|
| void getPhoto() {
|
| - var future = cameraRoll.ptr.getPhoto(photoIndex);
|
| + var future = cameraRoll.getPhoto(photoIndex);
|
| future.then((response) {
|
| if (response.photo == null) {
|
| print("Photo $photoIndex not found, returning to the first photo.");
|
| - cameraRoll.ptr.update();
|
| + cameraRoll.update();
|
| photoIndex = 0;
|
| getPhoto();
|
| return;
|
|
|