Revision 52547ba7
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
366 | 366 |
scores.show(act.getSupportFragmentManager(), null); |
367 | 367 |
break; |
368 | 368 |
case 1: RubikDialogPattern pDiag = new RubikDialogPattern(); |
369 |
Bundle pBundle = new Bundle(); |
|
370 |
int pOrd = getPatternOrdinal(); |
|
371 |
pBundle.putInt("tab", pOrd ); |
|
372 |
pDiag.setArguments(pBundle); |
|
373 | 369 |
pDiag.show( act.getSupportFragmentManager(), RubikDialogPattern.getDialogTag() ); |
374 | 370 |
break; |
375 | 371 |
case 2: ScreenList.switchScreen(act, ScreenList.SVER); |
376 | 372 |
break; |
377 | 373 |
case 3: RubikDialogTutorial tDiag = new RubikDialogTutorial(); |
378 |
Bundle tBundle = new Bundle(); |
|
379 |
int tOrd = getTutorialOrdinal(); |
|
380 |
tBundle.putInt("tab", tOrd ); |
|
381 |
tDiag.setArguments(tBundle); |
|
382 | 374 |
tDiag.show( act.getSupportFragmentManager(), RubikDialogTutorial.getDialogTag() ); |
383 | 375 |
break; |
384 | 376 |
case 4: RubikDialogAbout aDiag = new RubikDialogAbout(); |
Also available in: Unified diff
Simplification