Prevent crash

pull/207/head
M66B 3 years ago
parent affd4e898b
commit 6dfc291341

@ -1993,6 +1993,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void run() {
try {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
if (adapter != null)
adapter.notifyItemChanged(pos);
} catch (Throwable ex) {

@ -807,6 +807,8 @@ public class FragmentSetup extends FragmentBase {
@Override
public void run() {
try {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
Rect rect = new Rect(
vwWelcome.getLeft(),
ibWelcome.getTop(),

Loading…
Cancel
Save