Project

General

Profile

« Previous | Next » 

Revision c7f9e82d

Added by Leszek Koltunski over 4 years ago

One more fix for the latest bug from the field with Play state Spinner.

View differences:

src/main/java/org/distorted/states/RubikStatePlay.java
166 166
      levels[i] = act.getString(R.string.lv_placeholder,i+1);
167 167
      }
168 168

  
169
    if( mLevelValue>maxLevel ) mLevelValue=1;
170

  
169 171
    mSpinnerAdapter = new ArrayAdapter<>(act,android.R.layout.simple_spinner_item, levels);
170 172
    mSpinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
171 173
    mLevelSpinner.setAdapter(mSpinnerAdapter);

Also available in: Unified diff