Cloud sync: enable

This commit is contained in:
M66B 2023-01-22 19:30:30 +01:00
parent 78360bcdbf
commit 62e7fee6fc
1 changed files with 2 additions and 5 deletions

View File

@ -263,11 +263,8 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
// Initialize // Initialize
FragmentDialogTheme.setBackground(getContext(), view, false); FragmentDialogTheme.setBackground(getContext(), view, false);
Helper.linkPro(tvExportPro); Helper.linkPro(tvExportPro);
cardCloud.setVisibility( cardCloud.setVisibility(!TextUtils.isEmpty(BuildConfig.CLOUD_URI)
BuildConfig.DEBUG && ? View.VISIBLE : View.GONE);
Build.VERSION.SDK_INT >= Build.VERSION_CODES.O &&
!TextUtils.isEmpty(BuildConfig.CLOUD_URI)
? View.VISIBLE : View.GONE);
Helper.linkPro(tvCloudPro); Helper.linkPro(tvCloudPro);
cbSend.setChecked(prefs.getBoolean("cloud_send", true)); cbSend.setChecked(prefs.getBoolean("cloud_send", true));