Revision 4483b119
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/main/RubikObjectLibInterface.java | ||
---|---|---|
22 | 22 |
import com.google.firebase.analytics.FirebaseAnalytics; |
23 | 23 |
import com.google.firebase.crashlytics.FirebaseCrashlytics; |
24 | 24 |
|
25 |
import org.distorted.dialogs.RubikDialogScoresView; |
|
25 | 26 |
import org.distorted.library.main.DistortedScreen; |
26 | 27 |
import org.distorted.library.message.EffectMessageSender; |
27 | 28 |
|
... | ... | |
58 | 59 |
{ |
59 | 60 |
private final WeakReference<RubikActivity> mAct; |
60 | 61 |
private int mIsNewRecord; |
61 |
private long mNewRecord;
|
|
62 |
private int mNewRecord;
|
|
62 | 63 |
private int mLastCubitColor, mLastCubit, mLastCubitFace; |
63 | 64 |
|
64 | 65 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
142 | 143 |
private Bundle createDialogBundle() |
143 | 144 |
{ |
144 | 145 |
Bundle bundle = new Bundle(); |
145 |
String arg = String.valueOf((mNewRecord/10)/100.0f);
|
|
146 |
String arg = RubikDialogScoresView.formatRecord(mNewRecord);
|
|
146 | 147 |
bundle.putString("argument", arg ); |
147 | 148 |
return bundle; |
148 | 149 |
} |
Also available in: Unified diff
Show the same time format in the 'NewRecord' and 'Solved' dialogs as well.