do not show 0 if none image is selected

This commit is contained in:
tibbi 2016-03-03 20:36:43 +01:00
parent 2c86b0fb1c
commit f0de223155
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ public class PhotosActivity extends AppCompatActivity
else else
selectedItemsCnt--; selectedItemsCnt--;
mode.setTitle(String.valueOf(selectedItemsCnt)); if (selectedItemsCnt > 0)
mode.setTitle(String.valueOf(selectedItemsCnt));
mode.invalidate(); mode.invalidate();
} }