Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
Conflicts:
	mensa-ubi/AndroidManifest.xml
  • Loading branch information
fred committed Sep 7, 2013
2 parents 87e56a9 + 568c523 commit be7acd9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mensa-ubi/AndroidManifest.xml
Expand Up @@ -18,8 +18,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.atomfrede.android.mensa.ubi"
android:versionCode="17"
android:versionName="1.4.2" >
android:versionCode="19"
android:versionName="1.4.3" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="18" />
Expand Down
Expand Up @@ -159,34 +159,42 @@ public void sendFeedbackMail() {
protected void setTitles(String newSubTitle){
List<MenuDrawerItem> items = setupListEntries();
switch (currentLocation) {
case Constants.LOC_MENSA_NEXT_WEEK:
case Constants.LOC_MENSA:
newSubTitle = ((Item)items.get(0)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_head_uni));
break;
case Constants.LOC_WESTEND_RESTAURANT:
case Constants.LOC_WESTEND_RESTAURANT_NEXT_WEEK:
case Constants.LOC_WESTEND_RESTAURANT :
newSubTitle = ((Item)items.get(1)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_head_uni));
break;
case Constants.LOC_KURT_SCHUHMACHER_NEXT_WEEK:
case Constants.LOC_KURT_SCHUHMACHER:
newSubTitle = ((Item)items.get(2)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_fh_bielefeld));
break;
case Constants.LOC_WILHELM_BERTELSMANN_NEXT_WEEK:
case Constants.LOC_WILHELM_BERTELSMANN:
newSubTitle = ((Item)items.get(3)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_fh_bielefeld));
break;
case Constants.LOC_DETMOLD_NEXT_WEEK:
case Constants.LOC_DETMOLD:
newSubTitle = ((Item)items.get(4)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_hs_owl));
break;
case Constants.LOC_LEMGO_NEXT_WEEK:
case Constants.LOC_LEMGO:
newSubTitle = ((Item)items.get(5)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_hs_owl));
break;
case Constants.LOC_HOEXTER_NEXT_WEEK:
case Constants.LOC_HOEXTER:
newSubTitle = ((Item)items.get(6)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_hs_owl));
break;
case Constants.LOC_MUSIC_NEXT_WEEK:
case Constants.LOC_MUSIC:
newSubTitle = ((Item)items.get(7)).mTitle;
getSupportActionBar().setTitle(getResources().getString(R.string.drawer_header_musik));
Expand Down

0 comments on commit be7acd9

Please sign in to comment.