mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
don't keep trying to download wordlist when there isn't one
This commit is contained in:
parent
789c9c20a0
commit
be017747b3
1 changed files with 11 additions and 0 deletions
|
@ -1148,6 +1148,17 @@ public class DictsDelegate extends ListDelegateBase
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If we got here and theOne isn't set, there is
|
||||
// no wordlist available for this language. Set
|
||||
// the flag so we don't try again, even though
|
||||
// we've failed.
|
||||
if ( null == theOne ) {
|
||||
XWPrefs.setPrefsBoolean( m_context,
|
||||
R.string.key_got_langdict,
|
||||
true );
|
||||
}
|
||||
|
||||
} catch ( JSONException ex ) {
|
||||
DbgUtils.loge( ex );
|
||||
theOne = null;
|
||||
|
|
Loading…
Reference in a new issue