|
@ -89,7 +89,7 @@ public class DownloadsActivity extends BaseActivity implements DownloadsAdapter. |
|
|
getSupportActionBar().setDisplayShowHomeEnabled(true); |
|
|
getSupportActionBar().setDisplayShowHomeEnabled(true); |
|
|
|
|
|
|
|
|
createDrawer(); |
|
|
createDrawer(); |
|
|
// drawer.setSelection(DOWNLOADS_ID);
|
|
|
drawer.setSelection(DOWNLOADS_ID); |
|
|
|
|
|
|
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
|
|
|
|
|
@ -149,7 +149,7 @@ public class DownloadsActivity extends BaseActivity implements DownloadsAdapter. |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
protected void onResume() { |
|
|
protected void onResume() { |
|
|
drawer.setSelection(-1); |
|
|
drawer.setSelection(DOWNLOADS_ID); |
|
|
super.onResume(); |
|
|
super.onResume(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|