change LiveData init

This commit is contained in:
Samuele Locatelli
2020-06-12 17:17:33 +02:00
parent 4fa253fd3b
commit 6e5bf0888f
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ namespace Thermo.Active.Config
public static List<RiskChannelModel> RiskChannelConfig;
public static List<RiskBoardModel> RiskBoardConfig;
public static LiveData RecipeLiveData;
public static LiveData RecipeLiveData = new LiveData();
}
}
@@ -856,6 +856,8 @@ namespace Thermo.Active.Config
}
catch
{ }
// write template to current data...
File.WriteAllText(LIVE_RECIPE_PATH, rawData);
answ = true;
}
// rendo se fatto