fix NPE in SettingsFrame
This commit is contained in:
parent
d7afdd00f2
commit
9304da9422
@ -99,4 +99,6 @@ public class SCNApp extends Application implements LifecycleObserver
|
||||
}
|
||||
}
|
||||
|
||||
//TODO TabLayout indicator does not corretly animate when directly clicking on tabs
|
||||
//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)
|
@ -77,4 +77,9 @@ public class NotificationsFragment extends Fragment implements MessageAdapterTou
|
||||
snackbar.show();
|
||||
}
|
||||
}
|
||||
|
||||
public void updateDeleteSwipeEnabled()
|
||||
{
|
||||
if (touchHelper != null) touchHelper.updateEnabled();
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user