Skip to content

Commit

Permalink
Merge pull request #3094 from Navid200/Navid_2023_09_18
Browse files Browse the repository at this point in the history
No update available toast message
  • Loading branch information
jamorham authored Sep 24, 2023
2 parents 51e8e8a + 41996fa commit a5e2495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ public static void checkForAnUpdate(final Context context, final boolean fromUi)
}
} else {
Log.i(TAG, "Our current version is the most recent: " + versionnumber + " vs " + newversion);
if (fromUi) { // Only for manual update check
JoH.static_toast_long(xdrip.gs(R.string.current_version_is_up_to_date));
}
}
} catch (Exception e) {
Log.e(TAG, "Got exception parsing update version: " + e.toString());
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
<string name="libre_last_x_minutes_graph">Libre last %d minutes graph</string>
<string name="share_config_via_qr_code">Share config via QR code</string>
<string name="check_for_updated_version">Check for updated version</string>
<string name="current_version_is_up_to_date">No update in the selected channel</string>
<string name="send_feedback_to_developer">Send Feedback to developers</string>
<string name="home_screen">Home Screen</string>
<string name="event_logs">Event Logs</string>
Expand Down

0 comments on commit a5e2495

Please sign in to comment.