Project

General

Profile

« Previous | Next » 

Revision 14f14138

Added by Leszek Koltunski over 3 years ago

Correct the way we overlay our (possibly) better local (i.e. unsubmitted yet or submitted, but not picked up by the 'clean_db' cron job) records on top of the DB records ini the 'Scores' dialog.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScoresView.java
112 112
      {
113 113
      if( name[j] != null )
114 114
        {
115
        if( !mySubmitted && myRecordInSeconds<time[j] && !inserted )
115
        if( myRecordInSeconds<time[j] && !inserted )
116 116
          {
117 117
          inserted = true;
118 118
          View row = createRow(act, myCountryID, myName, myRecord, height, red);
src/main/java/org/distorted/network/RubikNetwork.java
56 56
  private static final int DEBUG      = 2;
57 57
  private static final int IDLE       = 3;
58 58

  
59
  private static final int REND_ADRENO = 0;
60
  private static final int REND_MALI   = 1;
61
  private static final int REND_POWER  = 2;
62
  private static final int REND_OTHER  = 3;
59
  private static final int REND_ADRENO= 0;
60
  private static final int REND_MALI  = 1;
61
  private static final int REND_POWER = 2;
62
  private static final int REND_OTHER = 3;
63 63

  
64 64
  private final String[] hex = {
65 65
    "%00", "%01", "%02", "%03", "%04", "%05", "%06", "%07",

Also available in: Unified diff