Project

General

Profile

« Previous | Next » 

Revision 00fcfefa

Added by Leszek Koltunski over 1 year ago

All users who are upgrading from a version <1.11.4, where there was no concept of 'stars', get all their stars.

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
147 147
    return true;
148 148
    }
149 149

  
150
///////////////////////////////////////////////////////////////////////////////////////////////////
151

  
152
  public static int computeNumStars(int level)
153
    {
154
    return level>=LEVELS_SHOWN ? 50 : level;
155
    }
156

  
157 150
///////////////////////////////////////////////////////////////////////////////////////////////////
158 151

  
159 152
  private static void restoreFreedObjects(SharedPreferences preferences)

Also available in: Unified diff