Project

General

Profile

« Previous | Next » 

Revision 884984d8

Added by Leszek Koltunski about 5 hours ago

minor

View differences:

src/main/java/org/distorted/dialogs/DialogUpdateView.java
202 202

  
203 203
          mInfo.mNumScrambles = reader.getNumScrambles();
204 204
          mInfo.mPrice        = reader.getPrice();
205
          float diff          = reader.getDifficulty();
206
          int category        = reader.getCategory();
207
          int year            = reader.getYearOfInvention();
208
          String author       = reader.getAuthor();
209
          boolean adjColors   = reader.getAdjustableColors();
210 205

  
211 206
          if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "Read from JSON numScrambles="+mInfo.mNumScrambles+" price="+mInfo.mPrice);
212 207

  
......
224 219

  
225 220
            if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "1");
226 221

  
222
            float diff       = reader.getDifficulty();
223
            int category     = reader.getCategory();
224
            int year         = reader.getYearOfInvention();
225
            String author    = reader.getAuthor();
226
            boolean adjColors= reader.getAdjustableColors();
227

  
227 228
            boolean success = RubikObjectList.addDownloadedObject(act, mInfo.mObjectShortName, mInfo.mNumScrambles, mInfo.mPrice, mInfo.mObjectMinorVersion,
228 229
                                                                  mInfo.mExtrasMinorVersion, mIconSaved, oSuccess, eSuccess, diff, category, year, author,adjColors);
229 230
            if( success )

Also available in: Unified diff