ns_upload_only true everywhere

This commit is contained in:
Milos Kozak 2020-09-01 09:53:24 +02:00
parent a55781451b
commit 7c7d115612
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ class TreatmentsBolusFragment : DaggerFragment() {
})
}
}
val nsUploadOnly = sp.getBoolean(R.string.key_ns_upload_only, false)
val nsUploadOnly = sp.getBoolean(R.string.key_ns_upload_only, true)
if (nsUploadOnly) treatments_reshreshfromnightscout.visibility = View.GONE
}

View file

@ -78,7 +78,7 @@ class TreatmentsCareportalFragment : DaggerFragment() {
}
}
val nsUploadOnly = sp.getBoolean(R.string.key_ns_upload_only, false)
val nsUploadOnly = sp.getBoolean(R.string.key_ns_upload_only, true)
if (nsUploadOnly) careportal_refreshfromnightscout.visibility = View.GONE
}

View file

@ -65,7 +65,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() {
})
}
}
if (sp.getBoolean(R.string.key_ns_upload_only, false)) profileswitch_refreshfromnightscout.visibility = View.GONE
if (sp.getBoolean(R.string.key_ns_upload_only, true)) profileswitch_refreshfromnightscout.visibility = View.GONE
}
@Synchronized