fix home button on feeds activity
This commit is contained in:
parent
84a766213d
commit
3da48391d6
@ -88,9 +88,6 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
case android.R.id.home:
|
||||
finish();
|
||||
return true;
|
||||
default:
|
||||
Log.d(TAG, "onOptionsItemSelected, unhandled id=" + item.getItemId());
|
||||
return super.onOptionsItemSelected(item);
|
||||
|
@ -439,6 +439,9 @@ public class OnlineActivity extends CommonActivity {
|
||||
final ArticlePager ap = (ArticlePager)getSupportFragmentManager().findFragmentByTag(FRAG_ARTICLE);
|
||||
|
||||
switch (item.getItemId()) {
|
||||
case android.R.id.home:
|
||||
finish();
|
||||
return true;
|
||||
case R.id.logout:
|
||||
logout();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user