Revision 7bb30586
Added by Leszek Koltunski 6 months ago
src/main/java/org/distorted/dialogs/RubikDialogSetName.java | ||
---|---|---|
23 | 23 |
import android.widget.TextView; |
24 | 24 |
|
25 | 25 |
import org.distorted.main.R; |
26 |
import org.distorted.main_old.RubikActivity; |
|
27 | 26 |
import org.distorted.external.RubikScores; |
28 |
import org.distorted.screens.ScreenList;
|
|
27 |
import org.distorted.playui.PlayActivity;
|
|
29 | 28 |
|
30 | 29 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
31 | 30 |
|
... | ... | |
81 | 80 |
|
82 | 81 |
try |
83 | 82 |
{ |
84 |
RubikActivity act = (RubikActivity)getActivity(); |
|
85 |
ScreenList.switchScreen(act, ScreenList.PLAY); |
|
83 |
PlayActivity act = (PlayActivity)getActivity(); |
|
86 | 84 |
RubikScores.getInstance().setName(name); |
87 |
|
|
88 | 85 |
Bundle bundle = new Bundle(); |
89 | 86 |
bundle.putString("argument", "true"); |
90 | 87 |
RubikDialogScores scores = new RubikDialogScores(); |
Also available in: Unified diff
Remove all old UI 1.0 classes