mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
repo(release): merge changes from 2.7.0 to main (#3070)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> Co-authored-by: DaneEvans <dane@goneepic.com>
This commit is contained in:
parent
94f30ef540
commit
3c726457eb
6 changed files with 84 additions and 79 deletions
|
|
@ -420,7 +420,7 @@ private fun VersionChecks(viewModel: UIViewModel) {
|
|||
LaunchedEffect(connectionState, myNodeInfo) {
|
||||
if (connectionState == ConnectionState.CONNECTED) {
|
||||
myNodeInfo?.let { info ->
|
||||
val isOld = info.minAppVersion > BuildConfig.VERSION_CODE
|
||||
val isOld = info.minAppVersion > BuildConfig.VERSION_CODE && BuildConfig.DEBUG.not()
|
||||
if (isOld) {
|
||||
viewModel.showAlert(
|
||||
context.getString(R.string.app_too_old),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue