mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-18 12:02:23 +00:00
fix deselecting tags
This commit is contained in:
parent
e93cf6e044
commit
ec415a8557
1 changed files with 4 additions and 3 deletions
|
|
@ -988,13 +988,14 @@ public class TaskFormActivity extends BaseActivity implements AdapterView.OnItem
|
|||
taskNotes.setText(task.notes);
|
||||
taskValue.setText(String.format(Locale.getDefault(), "%.2f", task.value));
|
||||
|
||||
for (Tag tag : task.getTags()) {
|
||||
selectedTags.add(tag);
|
||||
}
|
||||
|
||||
if (tags != null) {
|
||||
fillTagCheckboxes();
|
||||
}
|
||||
|
||||
for (Tag tag : task.getTags()) {
|
||||
selectedTags.add(tag);
|
||||
}
|
||||
|
||||
float priority = task.getPriority();
|
||||
if (Math.abs(priority - 0.1) < 0.000001) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue