Skip to content

Commit

Permalink
Merge pull request NightscoutFoundation#3245 from Navid200/Navid_2023…
Browse files Browse the repository at this point in the history
…_12_17

Incorrect G7 note to start sensor
  • Loading branch information
jamorham authored Feb 24, 2024
2 parents 72eb707 + b01a0fd commit 10c2231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/eveningoutpost/dexdrip/Home.java
Original file line number Diff line number Diff line change
Expand Up @@ -2622,7 +2622,7 @@ private void updateCurrentBgInfoCommon(DexCollectionType collector, TextView not
if (!isSensorActive) {
// Define a variable (notConnectedToG6Yet) that is only true if Native G6 is chosen, but, transmitter days is unknown.
boolean notConnectedToG6Yet = DexCollectionType.getDexCollectionType() == DexcomG5 && Pref.getBooleanDefaultFalse("ob1_g5_use_transmitter_alg") && Pref.getBooleanDefaultFalse("using_g6") && DexTimeKeeper.getTransmitterAgeInDays(getTransmitterID()) == -1;
if (notConnectedToG6Yet) { // Only if G6 has been selected and transmitter days is unknown.
if (notConnectedToG6Yet || shortTxId()) { // Only if G6 has been selected and transmitter days is unknown, or if G7 has been selected.
notificationText.setText(R.string.wait_to_connect);
} else { // Only if G6 is not selected or G6 transmitter days is known.
notificationText.setText(R.string.now_start_your_sensor);
Expand Down

0 comments on commit 10c2231

Please sign in to comment.