renamed drawer notice since it is used as howto now

This commit is contained in:
Philipp Schaefer 2013-12-04 19:49:03 +01:00
parent 6cb55ae2b1
commit 0df056f083

View File

@ -36,7 +36,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
// Makes the icon/title clickable // Makes the icon/title clickable
// getActionBar().setHomeButtonEnabled(enabled); // getActionBar().setHomeButtonEnabled(enabled);
public static final int NOTICE_DRAWERS = 1 << 0; public static final int NOTICE_HOWTO = 1 << 0;
public static final int NOTICE_INFO = 1 << 1; public static final int NOTICE_INFO = 1 << 1;
public static final int NOTICE_PANES = 1 << 2; public static final int NOTICE_PANES = 1 << 2;
// next one would be 1<<2; (this results in 1,2,4,8,...) // next one would be 1<<2; (this results in 1,2,4,8,...)
@ -77,7 +77,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
onPrefChanged(); // also calls updateActionBar() onPrefChanged(); // also calls updateActionBar()
showNotice(NOTICE_DRAWERS); showNotice(NOTICE_HOWTO);
} }
private void showNotice(final int which) { private void showNotice(final int which) {
@ -85,7 +85,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
int text; int text;
switch (which) { switch (which) {
case NOTICE_DRAWERS: case NOTICE_HOWTO:
text = R.string.notice_how_to; text = R.string.notice_how_to;
break; break;
case NOTICE_INFO: case NOTICE_INFO: