Revision 337f4660
Added by Leszek Koltunski 8 months ago
src/main/java/org/distorted/main/MainActivity.java | ||
---|---|---|
43 | 43 |
import org.distorted.external.RubikNetwork; |
44 | 44 |
import org.distorted.external.RubikScores; |
45 | 45 |
import org.distorted.external.RubikUpdates; |
46 |
import org.distorted.main_old.RubikSurfaceView; |
|
47 | 46 |
import org.distorted.messaging.RubikInAppMessanging; |
48 |
import org.distorted.objectlib.main.ObjectControl; |
|
49 | 47 |
import org.distorted.objects.RubikObjectList; |
50 | 48 |
import org.distorted.patternui.PatternActivity; |
51 | 49 |
import org.distorted.solverui.SolverActivity; |
... | ... | |
55 | 53 |
|
56 | 54 |
public class MainActivity extends AppCompatActivity implements RubikNetwork.Updatee |
57 | 55 |
{ |
56 |
public static final float PATTERN_CHILD_TEXT = 0.038f; |
|
57 |
public static final float PATTERN_GROUP_TEXT = 0.060f; |
|
58 |
|
|
58 | 59 |
public static final float RATIO_BAR = 0.080f; |
59 | 60 |
public static final int FLAGS = View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
60 | 61 |
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN |
... | ... | |
253 | 254 |
RubikScores scores = RubikScores.getInstance(); |
254 | 255 |
scores.incrementNumRuns(); |
255 | 256 |
scores.setCountry(this); |
256 |
RubikObjectList.restoreMeshState(preferences); |
|
257 | 257 |
} |
258 | 258 |
|
259 | 259 |
if( !mOldVersion.equals(mCurrVersion) ) displayNovelties(); |
... | ... | |
303 | 303 |
editor.putString("appVersion", mCurrVersion ); |
304 | 304 |
|
305 | 305 |
RubikObjectList.savePreferences(editor); |
306 |
RubikObjectList.saveMeshState(editor); |
|
307 | 306 |
|
308 | 307 |
boolean success = editor.commit(); |
309 | 308 |
if( !success ) android.util.Log.e("D", "Failed to save preferences"); |
Also available in: Unified diff
remove 'MESH_NICE'