Revision 953f5ac9
Added by Leszek Koltunski 11 months ago
src/main/java/org/distorted/playui/PlayActivity.java | ||
---|---|---|
280 | 280 |
solv.saveMovePreferences(KEY_SOLV,editor); |
281 | 281 |
} |
282 | 282 |
|
283 |
PlayView view = findViewById(R.id.playView); |
|
284 |
OSInterface os = view.getInterface(); |
|
285 |
os.setEditor(editor); |
|
286 |
view.getObjectControl().savePreferences(); |
|
287 |
|
|
283 | 288 |
editor.apply(); |
284 | 289 |
} |
285 | 290 |
|
... | ... | |
293 | 298 |
} |
294 | 299 |
|
295 | 300 |
if( !mJustStarted ) ScreenList.restorePreferences(preferences); |
301 |
|
|
302 |
PlayView view = findViewById(R.id.playView); |
|
303 |
OSInterface os = view.getInterface(); |
|
304 |
os.setPreferences(preferences); |
|
305 |
view.getObjectControl().restorePreferences(); |
|
296 | 306 |
} |
297 | 307 |
|
298 | 308 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
remember scrambling state of the object in the PlayActivity