mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 04:38:08 -05:00
ConversationActivity: Do not disable menu items. Not needed with anymore with ActionBar.
This commit is contained in:
parent
ca4a93d40d
commit
c511e9bcc5
@ -429,19 +429,6 @@ public class ConversationActivity extends SherlockActivity implements ServiceCon
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* On prepare options menu
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public boolean onPrepareOptionsMenu(Menu menu)
|
|
||||||
{
|
|
||||||
menu.getItem(0).setEnabled(server.isConnected()); // join
|
|
||||||
menu.getItem(1).setEnabled(server.isConnected()); // users
|
|
||||||
menu.getItem(2).setEnabled(server.isConnected()); // close
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* On menu item selected
|
* On menu item selected
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user