Aggiunte icone split
This commit is contained in:
@@ -319,8 +319,28 @@ namespace WebWindowComplex
|
||||
//PendReq.Remove("Profile");
|
||||
//await EC_PendantAction.InvokeAsync(PendReq);
|
||||
}
|
||||
if(Vocabulary != null)
|
||||
if (Vocabulary == null)
|
||||
{
|
||||
string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Data", "Lemmi.json");
|
||||
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
string jsonText = await File.ReadAllTextAsync(filePath);
|
||||
List<string>? tradList = JsonConvert.DeserializeObject<List<string>>(jsonText);
|
||||
if (tradList != null)
|
||||
{
|
||||
Log.Info("Richiesta Traduzione");
|
||||
prevReqTrad = true;
|
||||
await EC_ReqTraduzione.InvokeAsync(tradList);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.Info("File Json non trovato");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrVocabulary = Vocabulary;
|
||||
TableCDict = Vocabulary.Where(x => x.Key.Contains("CWTableC_")).ToDictionary(x => x.Key, y => y.Value);
|
||||
if ((TableCDict == null || TableCDict.Count != 13) && !prevReqTrad)
|
||||
|
||||
Reference in New Issue
Block a user