Farben & Cleanup

This commit is contained in:
2025-02-23 20:30:26 +01:00
parent 1a8eeec85d
commit c88bf148d4
6 changed files with 12 additions and 9 deletions

View File

@@ -261,7 +261,7 @@ internal partial class StundenViewModel : ObservableObject, IQueryAttributable,
DayTimes = new List<DayTime>();
//TODO: hier könnte auch ein Fehler kommen, dann wäre InfoEvent falsch.
if (Settings.Version != AppInfo.Current.VersionString.Substring(0, 5)) {
if (Settings.Version!=null && Settings.Version != AppInfo.Current.VersionString.Substring(0, 5)) {
InfoEvent?.Invoke(this, "Version: " + AppInfo.Current.VersionString.Substring(0, 5) + " verfügbar (" + Settings.Version + " installiert)");
} else { InfoEvent?.Invoke(this, e.Message); }
} finally {