This commit is contained in:
Felipe
2024-05-29 17:30:09 -05:00
parent 2c705f882a
commit e1717f1be7
+2 -2
View File
@@ -126,7 +126,7 @@ class _UserMapScreenState extends State<UserMapScreen> {
void _checkForUpdate(SettingEntity settings) { void _checkForUpdate(SettingEntity settings) {
if (Platform.isAndroid) { if (Platform.isAndroid) {
if (appVersion == settings.versionAndroid) { if (appVersion != settings.versionAndroid) {
showDialog( showDialog(
context: context, context: context,
builder: (context) { builder: (context) {
@@ -166,7 +166,7 @@ class _UserMapScreenState extends State<UserMapScreen> {
} }
} }
if (Platform.isIOS) { if (Platform.isIOS) {
if (appVersion == settings.versionIos) { if (appVersion != settings.versionIos) {
showDialog( showDialog(
context: context, context: context,
builder: (context) { builder: (context) {