Project

General

Profile

« Previous | Next » 

Revision 79e752b3

Added by Leszek Koltunski almost 4 years ago

Solving time - display it more accurately.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogSolved.java
89 89
    final View view = inflater.inflate(R.layout.dialog_solved, null);
90 90
    TextView text = view.findViewById(R.id.solved_time);
91 91
    text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
92
    text.setText(getString(R.string.ti_placeholder, (time/100)/10.0f));
92
    text.setText(getString(R.string.ti_placeholder, (time/10)/100.0f));
93 93
    builder.setView(view);
94 94

  
95 95
    Dialog dialog = builder.create();

Also available in: Unified diff