do not show 0 if none image is selected
This commit is contained in:
parent
2c86b0fb1c
commit
f0de223155
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue