diff options
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java index e0a9b6a06..e6766a0ab 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/PickStackActivity.java @@ -89,11 +89,7 @@ public abstract class PickStackActivity extends AppCompatActivity implements Bra binding.submit.setEnabled(false); } else { applyBrand(board.getColor()); - if (stack == null) { - binding.submit.setEnabled(false); - } else { - binding.submit.setEnabled(true); - } + binding.submit.setEnabled(stack != null); } } |