diff options
Diffstat (limited to 'src/com/android/gallery3d/app/PhotoPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index 1d9344ba3..c94454352 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -721,7 +721,7 @@ public class PhotoPage extends ActivityState implements mDeletePath = path; mDeleteIsFocus = (offset == 0); mMediaSet.setDeletion(path, mCurrentIndex + offset); - mPhotoView.showUndoButton(true); + mPhotoView.showUndoBar(); } @Override @@ -731,14 +731,14 @@ public class PhotoPage extends ActivityState implements if (mDeleteIsFocus) mModel.setFocusHintPath(mDeletePath); mMediaSet.setDeletion(null, 0); mDeletePath = null; - mPhotoView.showUndoButton(false); + mPhotoView.hideUndoBar(); } @Override public void onCommitDeleteImage() { if (mDeletePath == null) return; commitDeletion(); - mPhotoView.showUndoButton(false); + mPhotoView.hideUndoBar(); } private void commitDeletion() { |