Refactored code

This commit is contained in:
Juan Miguel Boyero Corral 2011-05-02 21:22:50 +02:00
parent 5eb8f91647
commit 862ab99afd

View File

@ -170,14 +170,12 @@ public class SWADMain extends ExpandableListActivity {
Intent activity;
if(keyword.equals(getString(R.string.notificationsModuleLabel)))
{
activity = new Intent(getBaseContext(),
Notifications.class);
activity = new Intent(getBaseContext(), Notifications.class);
startActivityForResult(activity, Global.NOTIFICATIONS_REQUEST_CODE);
} else if(keyword.equals(getString(R.string.testsModuleLabel))) {
activity = new Intent(getBaseContext(),
Tests.class);
startActivityForResult(activity, Global.TESTS_REQUEST_CODE);
activity = new Intent(getBaseContext(), Tests.class);
startActivityForResult(activity, Global.TESTS_REQUEST_CODE);
/*Toast.makeText(this, keyword + " aún no implementado", Toast.LENGTH_LONG)
.show();*/
}