Skip to content

Commit

Permalink
Merge pull request #3087 from Navid200/Navid_2023_09_17
Browse files Browse the repository at this point in the history
Remove setting: Unbond G5 before each read
  • Loading branch information
jamorham authored Sep 24, 2023
2 parents a5e2495 + f3707dd commit 39370ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public static void migrateOOP2CalibrationPreferences() {
private static void legacySettingsFix() {
Pref.setBoolean("use_ob1_g5_collector_service", true);
Pref.setBoolean("ob1_g5_fallback_to_xdrip", false);
Pref.setBoolean("always_unbond_G5", false);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,7 @@ public void run() {
private void removeLegacyPreferences() {
// removePreferenceFromCategory("use_ob1_g5_collector_service", "ob1_options");
// removePreferenceFromCategory("ob1_g5_fallback_to_xdrip", "ob1_options");
// removePreferenceFromCategory("always_unbond_G5", "ob1_options");
}

private void removePreferenceFromCategory(final String preference, final String category) {
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/pref_data_source.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,6 @@
android:key="always_get_new_keys"
android:summary="@string/g5_full_authentification"
android:title="@string/authentificate_before_reading" />
<CheckBoxPreference
android:defaultValue="false"
android:key="always_unbond_G5"
android:summary="@string/g5_remove_before_read"
android:title="@string/unbond_g5_before_read" />
</PreferenceCategory>
<PreferenceCategory
android:key="dex_battery_category"
Expand Down

0 comments on commit 39370ed

Please sign in to comment.