idk some fixes I guess

This commit is contained in:
rootdarkarchon
2023-10-23 14:06:25 +02:00
parent a51ce22d28
commit 505d50a547
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ public sealed class FileCacheManager : IDisposable
private void AddHashedFile(FileCacheEntity fileCache) private void AddHashedFile(FileCacheEntity fileCache)
{ {
if (!_fileCaches.TryGetValue(fileCache.Hash, out var entries)) if (!_fileCaches.TryGetValue(fileCache.Hash, out var entries) || entries is null)
{ {
_fileCaches[fileCache.Hash] = entries = []; _fileCaches[fileCache.Hash] = entries = [];
} }

View File

@@ -406,7 +406,7 @@ public class TopTabMenu
perm.SetDisableSounds(true); perm.SetDisableSounds(true);
return perm; return perm;
}); });
PopupSyncshellSetting("Syncshell Animations", "Enable sounds for all syncshells", "Disable sounds for all syncshells", PopupSyncshellSetting("Syncshell Animations", "Enable animations for all syncshells", "Disable animations for all syncshells",
FontAwesomeIcon.Running, FontAwesomeIcon.Stop, FontAwesomeIcon.Running, FontAwesomeIcon.Stop,
(perm) => (perm) =>
{ {