diff --git a/BmwDeepObd/JobReader.cs b/BmwDeepObd/JobReader.cs index 042b21e1a..4898b8e99 100644 --- a/BmwDeepObd/JobReader.cs +++ b/BmwDeepObd/JobReader.cs @@ -353,6 +353,7 @@ public int Compare(DisplayInfo x, DisplayInfo y) private bool _manualEdit; private bool _logTagsPresent; private bool _compatIdsUsed; + private bool _compatIdWarningShown; private string _sgbdFunctional = string.Empty; private string _interfaceName = string.Empty; private string _vehicleSeries = string.Empty; @@ -384,6 +385,12 @@ public int Compare(DisplayInfo x, DisplayInfo y) public bool CompatIdsUsed => _compatIdsUsed; + public bool CompatIdWarningShown + { + get => _compatIdWarningShown; + set => _compatIdWarningShown = value; + } + public string SgbdFunctional => _sgbdFunctional; public string ManufacturerName => _manufacturerName; @@ -455,6 +462,7 @@ private void Clear() _logPath = string.Empty; _logTagsPresent = false; _compatIdsUsed = false; + _compatIdWarningShown = false; _sgbdFunctional = string.Empty; _manufacturerName = string.Empty; _interfaceName = string.Empty; diff --git a/BmwDeepObd/MainActivity.cs b/BmwDeepObd/MainActivity.cs index da20e4c19..cdefd673c 100644 --- a/BmwDeepObd/MainActivity.cs +++ b/BmwDeepObd/MainActivity.cs @@ -2175,7 +2175,11 @@ protected void ConnectAction(object sender, ConnectActionArgs connectActionArgs, if (ActivityCommon.JobReader.CompatIdsUsed) { - ShowBallonMessage(GetString(Resource.String.compile_compat_id_warn), ActivityCommon.BalloonDismissDuration, BalloonAlligment.Top); + if (!ActivityCommon.JobReader.CompatIdWarningShown) + { + ShowBallonMessage(GetString(Resource.String.compile_compat_id_warn), ActivityCommon.BalloonDismissDuration, BalloonAlligment.Top); + ActivityCommon.JobReader.CompatIdWarningShown = true; + } } if (!_instanceData.AdapterCheckOk && _activityCommon.AdapterCheckRequired)