ns_upload_only true everywhere
This commit is contained in:
parent
a55781451b
commit
7c7d115612
3 changed files with 3 additions and 3 deletions
|
@ -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
|
if (nsUploadOnly) treatments_reshreshfromnightscout.visibility = View.GONE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
if (nsUploadOnly) careportal_refreshfromnightscout.visibility = View.GONE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
@Synchronized
|
||||||
|
|
Loading…
Reference in a new issue