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 @Override
public void run() { public void run() {
try { try {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
if (adapter != null) if (adapter != null)
adapter.notifyItemChanged(pos); adapter.notifyItemChanged(pos);
} catch (Throwable ex) { } catch (Throwable ex) {

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

Loading…
Cancel
Save