Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Fix #411 fix opening time of mensa arcisstrasse
Browse files Browse the repository at this point in the history
  • Loading branch information
kordianbruck committed Jun 28, 2017
1 parent 758ea57 commit a0e1e73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/locations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
1016;cafeteria_gar;Espresso-Bar Maschinenwesen;Boltzmannstr. 15, Garching;;;Mo-Fr 7-19;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/garching/
1035;cafeteria_gar;C2 Campus-Cneipe;Lichtenbergstr. 2, Garching;;;Mo-Do 11-23.30, Fr 11-22;;http://www.c2.tum.de/index.php?option=com_content&view=article&id=118&Itemid=26
411;cafeteria;Mensa Leopoldstr;Leopoldstr. 13a;;;Mo-Do 11-14.30, Fr 11-14;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1444
421;cafeteria;Mensa Arcisstraße;Arcisstr. 17;;;Mo-Do 11-14.30, Fr 11-14;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1453
421;cafeteria;Mensa Arcisstraße;Arcisstr. 17;;;Mo-Do 11-16, Fr 11-13.45;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1453
431;cafeteria;Mensa Lothstraße;Lothstr. 13d;;;Mo-Do 11-14, Fr 11-13.45;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1457
416;cafeteria;Mensaria Schellingstraße;Schellingstr. 3;;;Mo-Fr 11-14;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1449
532;cafeteria;StuCafe Karlstraße;Karlstr. 6;;;Mo-Fr 11-14;;http://www.studentenwerk-muenchen.de/mensa/unsere-mensen-und-stucafes/muenchen/#c1457
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ protected boolean shouldShow(SharedPreferences prefs) {
protected Notification fillNotification(NotificationCompat.Builder notificationBuilder) {
Map<String, String> rolePrices = CafeteriaPrices.getRolePrices(mContext);

NotificationCompat.WearableExtender morePageNotification =
new NotificationCompat.WearableExtender();
NotificationCompat.WearableExtender morePageNotification = new NotificationCompat.WearableExtender();

StringBuilder allContent = new StringBuilder();
StringBuilder firstContent = new StringBuilder();
Expand All @@ -137,9 +136,7 @@ protected Notification fillNotification(NotificationCompat.Builder notificationB
continue;
}

NotificationCompat.Builder pageNotification =
new NotificationCompat.Builder(mContext)
.setContentTitle(PATTERN.matcher(menu.typeLong).replaceAll("").trim());
NotificationCompat.Builder pageNotification = new NotificationCompat.Builder(mContext).setContentTitle(PATTERN.matcher(menu.typeLong).replaceAll("").trim());

StringBuilder content = new StringBuilder(menu.name);
if (rolePrices.containsKey(menu.typeLong)) {
Expand Down

0 comments on commit a0e1e73

Please sign in to comment.