Project

General

Profile

« Previous | Next » 

Revision 8224d2be

Added by Leszek Koltunski 7 months ago

New Cheese JSON; bugfix in the app for submitting records.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScoresView.java
20 20
import android.widget.LinearLayout;
21 21
import android.widget.TextView;
22 22

  
23
import org.distorted.main.MainActivity;
23
import org.distorted.helpers.BaseActivity;
24 24
import org.distorted.main.R;
25 25
import org.distorted.external.RubikScores;
26 26

  
......
91 91
    String theirTime;
92 92
    int theirCountryID;
93 93

  
94
    MainActivity mact = (MainActivity) act;
95
    int selected = mact.getSelectedColor();
94
    BaseActivity bact = (BaseActivity) act;
95
    int selected = bact.getSelectedColor();
96 96
    int height = (int)(mHeight*SCORES_ITEM_TEXT);
97 97
    int white = res.getColor(R.color.white);
98 98
    int red   = res.getColor(selected);

Also available in: Unified diff