]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/java/com/stoutner/privacybrowser/activities/BookmarksDatabaseViewActivity.java
Fix a crash when opening a drawer while restarting. https://redmine.stoutner.com...
[PrivacyBrowserAndroid.git] / app / src / main / java / com / stoutner / privacybrowser / activities / BookmarksDatabaseViewActivity.java
index d084d5c68ffc7e977b00850396e74899c3f4d5ae..13fedf04d450dfbd1274426b189de562fe59edfc 100644 (file)
@@ -128,13 +128,13 @@ public class BookmarksDatabaseViewActivity extends AppCompatActivity implements
         // Set the view according to the theme.
         if (bottomAppBar) {
             // Set the content view.
-            setContentView(R.layout.bookmarks_databaseview_coordinatorlayout_bottom_appbar);
+            setContentView(R.layout.bookmarks_databaseview_bottom_appbar);
         } else {
             // `Window.FEATURE_ACTION_MODE_OVERLAY` makes the contextual action mode cover the support action bar.  It must be requested before the content is set.
             supportRequestWindowFeature(Window.FEATURE_ACTION_MODE_OVERLAY);
 
             // Set the content view.
-            setContentView(R.layout.bookmarks_databaseview_coordinatorlayout_top_appbar);
+            setContentView(R.layout.bookmarks_databaseview_top_appbar);
         }
 
         // Get a handle for the toolbar.