Bug 1150872 - Update toast notification when removing a page from reading list from reader view toolbar. r=mcomella, a=sledru
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 03 Apr 2015 10:58:28 -0400
changeset 266904 26a4b69f52b9cdba3da460bef4485ea4062332df
parent 266903 8e825dc42ba6e88f540a9811de8d73c48015fb32
child 266905 70b67abc46995532d7bab7cf9c07440c9fe10d86
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella, sledru
bugs1150872
milestone39.0a2
Bug 1150872 - Update toast notification when removing a page from reading list from reader view toolbar. r=mcomella, a=sledru
mobile/android/base/ReadingListHelper.java
--- a/mobile/android/base/ReadingListHelper.java
+++ b/mobile/android/base/ReadingListHelper.java
@@ -222,17 +222,17 @@ public final class ReadingListHelper imp
      * A page can be removed from the ReadingList by panel context menu,
      * or by tapping the readinglist-remove icon in the ReaderMode banner.
      */
     private void handleRemoveFromList(final String url) {
         ThreadUtils.postToBackgroundThread(new Runnable() {
             @Override
             public void run() {
                 readingListAccessor.removeReadingListItemWithURL(context.getContentResolver(), url);
-                showToast(R.string.page_removed, Toast.LENGTH_SHORT);
+                showToast(R.string.reading_list_removed, Toast.LENGTH_SHORT);
             }
         });
     }
 
     /**
      * Gecko (ReaderMode) requests the page ReadingList status, to display
      * the proper ReaderMode banner icon (readinglist-add / readinglist-remove).
      */