Project

General

Profile

« Previous | Next » 

Revision 2e48adc9

Added by Leszek Koltunski almost 3 years ago

Downloaded Objects: bugfix

View differences:

src/main/java/org/distorted/dialogs/RubikDialogUpdates.java
144 144
  private void receiveUpdate(RubikUpdates updates, FragmentActivity act)
145 145
    {
146 146
    int numC = updates.getCompletedNumber();
147
    int numS = updates.getStartedNumber();
147 148

  
148
    if( numC<=0 )
149
    if( numC+numS<=0 )
149 150
      {
150 151
      mText.setText(act.getString(R.string.no_updates));
151 152
      }
152 153
    else
153 154
      {
154
      //mText.setText("Downloading...");
155

  
156 155
      int textH = (int)(mSize*0.27f);
157 156
      int buttH = (int)(mSize*0.35f);
158 157

  
......
174 173
          mPanes.add(rubikView);
175 174
          }
176 175

  
177
        int numS = updates.getStartedNumber();
178

  
179 176
        for(int i=0; i<numS; i++)
180 177
          {
181 178
          RubikUpdates.UpdateInfo info = updates.getStartedUpdate(i);

Also available in: Unified diff