]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/dialogs/MoveToFolderDialog.java
Update fastlane screenshots.
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / MoveToFolderDialog.java
index 2a767d969cfaad375151882d11f34c66ed63e6c2..c08939a494f0a65c7d80d39fd7237c2c859e7c38 100644 (file)
@@ -124,15 +124,13 @@ public class MoveToFolderDialog extends AppCompatDialogFragment {
         // Initially disable the positive button.
         moveButton.setEnabled(false);
 
-        // Initialize the `Cursor` and `CursorAdapter` variables.
+        // Initialize the variables.
         Cursor foldersCursor;
         CursorAdapter foldersCursorAdapter;
+        exceptFolders = new StringBuilder();
 
         // Check to see if we are in the `Home Folder`.
         if (BookmarksActivity.currentFolder.isEmpty()) {  // Don't display `Home Folder` at the top of the `ListView`.
-            // Initialize `exceptFolders`.
-            exceptFolders = new StringBuilder();
-
             // If a folder is selected, add it and all children to the list of folders not to display.
             long[] selectedBookmarksLongArray = BookmarksActivity.checkedItemIds;
             for (long databaseIdLong : selectedBookmarksLongArray) {