diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java index 8fc2f0a..8343b21 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java @@ -99,4 +99,6 @@ public class SCNApp extends Application implements LifecycleObserver } } -//TODO TabLayout indicator does not corretly animate when directly clicking on tabs \ No newline at end of file +//TODO TabLayout indicator does not correctly animate when directly clicking on tabs +//TODO Vibrate is a single long and not two short ? +//TODO Crash (see report) \ No newline at end of file diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/NotificationsFragment.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/NotificationsFragment.java index 78ab59d..d9b0c51 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/NotificationsFragment.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/NotificationsFragment.java @@ -77,4 +77,9 @@ public class NotificationsFragment extends Fragment implements MessageAdapterTou snackbar.show(); } } + + public void updateDeleteSwipeEnabled() + { + if (touchHelper != null) touchHelper.updateEnabled(); + } } diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/SettingsFragment.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/SettingsFragment.java index 514be15..7437b4f 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/SettingsFragment.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/view/SettingsFragment.java @@ -341,7 +341,7 @@ public class SettingsFragment extends Fragment implements MusicPickerListener { SCNSettings.inst().save(); updateUI(); - SCNApp.getMainActivity().adpTabs.tab1.touchHelper.updateEnabled(); + SCNApp.getMainActivity().adpTabs.tab1.updateDeleteSwipeEnabled(); } private void onUpgradeAccount()