X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Factivities%2FBookmarksDatabaseViewActivity.java;fp=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Factivities%2FBookmarksDatabaseViewActivity.java;h=2309a56ba82a7acd703ed1d22a22744347c9b9b2;hp=11aa500d6138ec1693b0c8877334365216105612;hb=12042264a50769030361cf51b0ac197050209f0f;hpb=7ab6a9027175e6a8f72b3f3683f8c4e05643d8bc diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/BookmarksDatabaseViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/BookmarksDatabaseViewActivity.java index 11aa500d..2309a56b 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/BookmarksDatabaseViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/BookmarksDatabaseViewActivity.java @@ -429,7 +429,7 @@ public class BookmarksDatabaseViewActivity extends AppCompatActivity implements int numberOfSelectedBookmarks = bookmarksListView.getCheckedItemCount(); // Set the action mode subtitle according to the number of selected bookmarks. This must be set here or it will be missing if the activity is restarted. - mode.setSubtitle(getString(R.string.selected) + " " + numberOfSelectedBookmarks); + mode.setSubtitle(getString(R.string.selected) + numberOfSelectedBookmarks); // Do not show the select all menu item if all the bookmarks are already checked. if (bookmarksListView.getCheckedItemCount() == bookmarksListView.getCount()) { @@ -454,7 +454,7 @@ public class BookmarksDatabaseViewActivity extends AppCompatActivity implements // Only run the commands if at least one bookmark is selected. Otherwise, a context menu with 0 selected bookmarks is briefly displayed. if (numberOfSelectedBookmarks > 0) { // Update the action mode subtitle according to the number of selected bookmarks. - mode.setSubtitle(getString(R.string.selected) + " " + numberOfSelectedBookmarks); + mode.setSubtitle(getString(R.string.selected) + numberOfSelectedBookmarks); // Only show the select all menu item if all of the bookmarks are not already selected. selectAllMenuItem.setVisible(bookmarksListView.getCheckedItemCount() != bookmarksListView.getCount()); @@ -567,7 +567,7 @@ public class BookmarksDatabaseViewActivity extends AppCompatActivity implements // Create a Snackbar with the number of deleted bookmarks. bookmarksDeletedSnackbar = Snackbar.make(findViewById(R.id.bookmarks_databaseview_coordinatorlayout), - getString(R.string.bookmarks_deleted) + " " + selectedBookmarksIdsLongArray.length, Snackbar.LENGTH_LONG) + getString(R.string.bookmarks_deleted) + selectedBookmarksIdsLongArray.length, Snackbar.LENGTH_LONG) .setAction(R.string.undo, view -> { // Do nothing because everything will be handled by `onDismissed()` below. })