diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-23 19:12:46 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-06-23 19:12:46 +0300 |
commit | b398e09560582ee026ebd83f0043ddbe4f817336 (patch) | |
tree | 57926bf779c6e2e32766e93e50686f38356fcf80 /app/src/main | |
parent | c333f734fe3170fb5e08b19fb5dad3c4cbdb0942 (diff) |
Fixed adding new lists
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java index 5dd15ced6..c29994e64 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java @@ -694,6 +694,10 @@ public class MainActivity extends BrandedActivity implements DeleteStackListener }); return true; } + case R.id.add_list: { + EditStackDialogFragment.newInstance(NO_STACK_ID).show(getSupportFragmentManager(), addList); + return true; + } case R.id.rename_list: { final long stackId = stackAdapter.getItem(binding.viewPager.getCurrentItem()).getLocalId(); observeOnce(syncManager.getStack(mainViewModel.getCurrentAccount().getId(), stackId), MainActivity.this, fullStack -> |