tweaks to notices
- new notice when entering info pane (sharing/navigation) - mention NFC in general how-to - add some punctuation Fixes #750
This commit is contained in:
@ -242,6 +242,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
|
||||
public void switchTo(final Pane pane) {
|
||||
mPane = pane;
|
||||
|
||||
if (pane.equals(Pane.INFO)) mNotificationHelper.showNotice(IITC_NotificationHelper.NOTICE_SHARING);
|
||||
updateViews();
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,8 @@ public class IITC_NotificationHelper {
|
||||
public static final int NOTICE_INFO = 1 << 1;
|
||||
public static final int NOTICE_PANES = 1 << 2;
|
||||
public static final int NOTICE_EXTPLUGINS = 1 << 3;
|
||||
// next one would be 1<<4; (this results in 1,2,4,8,...)
|
||||
public static final int NOTICE_SHARING = 1 << 4;
|
||||
// next one would be 1<<5; (this results in 1,2,4,8,...)
|
||||
|
||||
private final Activity mActivity;
|
||||
private final SharedPreferences mPrefs;
|
||||
@ -48,6 +49,9 @@ public class IITC_NotificationHelper {
|
||||
text = String.format(text, Environment.getExternalStorageDirectory().getPath()
|
||||
+ "/IITC_Mobile/plugins/");
|
||||
break;
|
||||
case NOTICE_SHARING:
|
||||
text = mActivity.getString(R.string.notice_sharing);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user