Archived
Uncommented code responsible for setting opening hours for GB.
This commit is contained in:
1 parent
fd6fdfacf5
commit
0a723dfba7
1 file changed
+2
-2
@@ -52,12 +52,12 @@ public class DnsActivity extends BaseDnsActivity {
|
||||
/* Set opening hours: */
|
||||
TextView tvNeuf = (TextView)findViewById(R.id.main_menu_hours_neuf);
|
||||
TextView tvBC = (TextView)findViewById(R.id.main_menu_hours_bc);
|
||||
// TextView tvGB = (TextView)findViewById(R.id.main_menu_hours_gb);
|
||||
TextView tvGB = (TextView)findViewById(R.id.main_menu_hours_gb);
|
||||
int day = (Calendar.getInstance().get(Calendar.DAY_OF_WEEK) + 5) % 7;
|
||||
|
||||
tvNeuf.setText(openingHoursHouse[day]);
|
||||
tvBC.setText(openingHoursBC[day]);
|
||||
// tvGB.setText(openingHoursBC[day]);
|
||||
tvGB.setText(openingHoursBC[day]);
|
||||
|
||||
setupFocus();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user