Small fix

This commit is contained in:
M66B 2019-12-17 12:32:24 +01:00
parent 8c7dd5dc3e
commit 2bdfa9f21c
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ public class FragmentRule extends FragmentBase {
Log.e(ex);
} finally {
grpReady.setVisibility(View.VISIBLE);
bottom_navigation.findViewById(R.id.action_delete).setVisibility(rule == null ? View.GONE : View.VISIBLE);
bottom_navigation.findViewById(R.id.action_delete).setVisibility(id < 0 ? View.GONE : View.VISIBLE);
bottom_navigation.setVisibility(View.VISIBLE);
pbWait.setVisibility(View.GONE);
}