+ // Open the navigation drawer if the bottom app bar is enabled and this is the first tab. <https://redmine.stoutner.com/issues/1267>
+ if (displayingInitialTab && bottomAppBar) {
+ // Open the navigation drawer.
+ drawerLayout.openDrawer(GravityCompat.START)
+
+ // Set the close navigation drawer flag.
+ closeNavigationDrawer = true
+ }
+
+ // Set the displaying initial tab flag to be false.
+ displayingInitialTab = false
+