mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
don't display info about disabling when disabled
This commit is contained in:
parent
6c5ab3ff1a
commit
c774780730
1 changed files with 4 additions and 0 deletions
|
@ -2813,12 +2813,16 @@ public class BoardDelegate extends DelegateBase
|
||||||
|
|
||||||
// If I'm upgrading and running this for the first time show an
|
// If I'm upgrading and running this for the first time show an
|
||||||
// explanation about the new dualpane feature
|
// explanation about the new dualpane feature
|
||||||
|
//
|
||||||
|
// TODO remove a few weeks after shipping a version that includes it
|
||||||
private static boolean s_dpShown = false;
|
private static boolean s_dpShown = false;
|
||||||
private void checkAddDualpaneExpl()
|
private void checkAddDualpaneExpl()
|
||||||
{
|
{
|
||||||
if ( !s_dpShown ) {
|
if ( !s_dpShown ) {
|
||||||
s_dpShown = true;
|
s_dpShown = true;
|
||||||
if ( XWPrefs.getIsTablet( m_activity )
|
if ( XWPrefs.getIsTablet( m_activity )
|
||||||
|
&& !XWPrefs.getPrefsBoolean( m_activity, R.string
|
||||||
|
.key_disable_dualpane, false )
|
||||||
&& !Utils.onFirstVersion(m_activity ) ) {
|
&& !Utils.onFirstVersion(m_activity ) ) {
|
||||||
makeNotAgainBuilder( R.string.invite_dualpane,
|
makeNotAgainBuilder( R.string.invite_dualpane,
|
||||||
R.string.key_notagain_dualpane )
|
R.string.key_notagain_dualpane )
|
||||||
|
|
Loading…
Add table
Reference in a new issue