Skip to content
Snippets Groups Projects
Commit dac75eb8 authored by schneider's avatar schneider
Browse files

main: Check for version 1.18

parent 7ffb8ec0
No related branches found
No related tags found
1 merge request!43main: Check for version 1.18
Pipeline #5384 passed
...@@ -213,7 +213,7 @@ class MainFragment : Fragment(), ConnectionStateListener, GattListener { ...@@ -213,7 +213,7 @@ class MainFragment : Fragment(), ConnectionStateListener, GattListener {
minor = minor_s.toInt() minor = minor_s.toInt()
} }
if (major < 1 || minor < 17) { if (major < 1 || minor < 18) {
val d: AlertDialog = AlertDialog.Builder(context) val d: AlertDialog = AlertDialog.Builder(context)
.setPositiveButton(android.R.string.ok, null) .setPositiveButton(android.R.string.ok, null)
.setMessage(R.string.main_update_message) .setMessage(R.string.main_update_message)
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<string name="main_button_set_time">Set Time</string> <string name="main_button_set_time">Set Time</string>
<string name="main_button_ecg">ECG</string> <string name="main_button_ecg">ECG</string>
<string name="main_update_message">The firmware on your card10 is outdated. Please update to version v1.17!\n <string name="main_update_message">The firmware on your card10 is outdated. Please update to version v1.18!\n
\n \n
See our <a href="https://card10.badge.events.ccc.de/firmware/firmwareupdate/">firmware update guide</a> for details. See our <a href="https://card10.badge.events.ccc.de/firmware/firmwareupdate/">firmware update guide</a> for details.
</string> </string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment