mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
oops: don't show upgrade changelist on every boot
This commit is contained in:
parent
bd8e829a06
commit
cb97ceab82
1 changed files with 5 additions and 1 deletions
|
@ -948,7 +948,7 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
DBUtils.setDBChangeListener( this );
|
DBUtils.setDBChangeListener( this );
|
||||||
|
|
||||||
boolean isUpgrade = Utils.firstBootThisVersion( m_activity );
|
boolean isUpgrade = Utils.firstBootThisVersion( m_activity );
|
||||||
if ( true || isUpgrade ) {
|
if ( isUpgrade ) {
|
||||||
if ( !s_firstShown ) {
|
if ( !s_firstShown ) {
|
||||||
if ( LocUtils.getCurLangCode( m_activity ).equals( "en" ) ) {
|
if ( LocUtils.getCurLangCode( m_activity ).equals( "en" ) ) {
|
||||||
FirstRunDialog.show( m_activity );
|
FirstRunDialog.show( m_activity );
|
||||||
|
@ -956,6 +956,10 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
s_firstShown = true;
|
s_firstShown = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Combine with above when "true" removed
|
||||||
|
if ( true || isUpgrade ) {
|
||||||
if ( !XWPrefs.getPrefsBoolean( m_activity,
|
if ( !XWPrefs.getPrefsBoolean( m_activity,
|
||||||
R.string.key_enable_dualpane, false )
|
R.string.key_enable_dualpane, false )
|
||||||
&& XWPrefs.getIsTablet( m_activity ) ) {
|
&& XWPrefs.getIsTablet( m_activity ) ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue