Browse Source

Home button shows an arrow when user is into a folder

masensio 10 years ago
parent
commit
3603c122ff
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/com/owncloud/android/ui/activity/FileActivity.java

+ 2 - 0
src/com/owncloud/android/ui/activity/FileActivity.java

@@ -388,8 +388,10 @@ public class FileActivity extends ActionBarActivity
         if (mFile.getParentId() == 0) {
             getSupportActionBar().setTitle(getString(
                     R.string.default_display_name_for_root_folder));
+            mDrawerToggle.setDrawerIndicatorEnabled(true);
         } else {
             getSupportActionBar().setTitle(mFile.getFileName().toString());
+            mDrawerToggle.setDrawerIndicatorEnabled(false);
         }
     }
     /**