Revision 872307fe
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
337 | 337 |
|
338 | 338 |
editor.putBoolean("policyAccepted", mPolicyAccepted); |
339 | 339 |
editor.putString("appVersion", mCurrVersion ); |
340 |
editor.putInt("solverIndex", mSolverIndex ); |
|
340 | 341 |
|
341 | 342 |
for (int i=0; i<BaseEffect.Type.LENGTH; i++) |
342 | 343 |
{ |
... | ... | |
377 | 378 |
{ |
378 | 379 |
mPolicyAccepted = preferences.getBoolean("policyAccepted", false); |
379 | 380 |
mOldVersion = preferences.getString("appVersion",""); |
381 |
mSolverIndex = preferences.getInt("solverIndex",0); |
|
382 |
|
|
380 | 383 |
parseOldVersion(mOldVersion); |
381 | 384 |
|
382 | 385 |
RubikObjectList.restorePreferences(this,preferences,justStarted); |
Also available in: Unified diff
Remember last solver type in preferences.