|
|
@ -47,6 +47,7 @@ import androidx.annotation.Nullable;
|
|
|
|
import androidx.appcompat.widget.SwitchCompat;
|
|
|
|
import androidx.appcompat.widget.SwitchCompat;
|
|
|
|
import androidx.constraintlayout.widget.Group;
|
|
|
|
import androidx.constraintlayout.widget.Group;
|
|
|
|
import androidx.fragment.app.DialogFragment;
|
|
|
|
import androidx.fragment.app.DialogFragment;
|
|
|
|
|
|
|
|
import androidx.lifecycle.Lifecycle;
|
|
|
|
import androidx.lifecycle.LifecycleOwner;
|
|
|
|
import androidx.lifecycle.LifecycleOwner;
|
|
|
|
import androidx.lifecycle.Observer;
|
|
|
|
import androidx.lifecycle.Observer;
|
|
|
|
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
|
|
|
|
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
|
|
|
@ -556,6 +557,8 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
|
|
|
private void setOptions() {
|
|
|
|
private void setOptions() {
|
|
|
|
if (getContext() == null)
|
|
|
|
if (getContext() == null)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
if (getLifecycle().getCurrentState().equals(Lifecycle.State.DESTROYED))
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
|
|
|
boolean pro = ActivityBilling.isPro(getContext());
|
|
|
|
boolean pro = ActivityBilling.isPro(getContext());
|
|
|
|