|
|
|
@ -109,6 +109,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
private ImageButton ibResetLanguage;
|
|
|
|
|
private SwitchCompat swDeepL;
|
|
|
|
|
private ImageButton ibDeepL;
|
|
|
|
|
private TextView tvSdcard;
|
|
|
|
|
private SwitchCompat swWatchdog;
|
|
|
|
|
private SwitchCompat swUpdates;
|
|
|
|
|
private SwitchCompat swCheckWeekly;
|
|
|
|
@ -241,6 +242,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
ibResetLanguage = view.findViewById(R.id.ibResetLanguage);
|
|
|
|
|
swDeepL = view.findViewById(R.id.swDeepL);
|
|
|
|
|
ibDeepL = view.findViewById(R.id.ibDeepL);
|
|
|
|
|
tvSdcard = view.findViewById(R.id.tvSdcard);
|
|
|
|
|
swWatchdog = view.findViewById(R.id.swWatchdog);
|
|
|
|
|
swUpdates = view.findViewById(R.id.swUpdates);
|
|
|
|
|
swCheckWeekly = view.findViewById(R.id.swWeekly);
|
|
|
|
@ -516,6 +518,14 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
tvSdcard.setPaintFlags(tvSdcard.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
|
tvSdcard.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
@Override
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
Helper.viewFAQ(v.getContext(), 93);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
swWatchdog.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
|
|
|
|
@Override
|
|
|
|
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
|
|
|
|