Use branch name in config
This commit is contained in:
@ -11,7 +11,7 @@ namespace Elwig.Helpers {
|
||||
private readonly string FileName;
|
||||
public string DatabaseFile = App.DataPath + "database.sqlite3";
|
||||
public string? DatabaseLog = null;
|
||||
public string? ZwstId = null;
|
||||
public string? Branch = null;
|
||||
public IEnumerable<string[]> Scales;
|
||||
private readonly LinkedList<string[]> ScaleList = new();
|
||||
|
||||
@ -45,9 +45,9 @@ namespace Elwig.Helpers {
|
||||
}
|
||||
|
||||
if (ini == null || !ini.TryGetKey("general.branch", out string branch)) {
|
||||
ZwstId = null;
|
||||
Branch = null;
|
||||
} else {
|
||||
ZwstId = branch;
|
||||
Branch = branch;
|
||||
}
|
||||
|
||||
ScaleList.Clear();
|
||||
|
Reference in New Issue
Block a user