mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
fixes for pet handling, uploads, clear storage button, remove button while reconnecting, put paused to online/paused, put visible to online
This commit is contained in:
parent
673d098827
commit
3634c06ee5
17 changed files with 241 additions and 179 deletions
|
|
@ -29,14 +29,14 @@ public class FileReplacementComparer : IEqualityComparer<FileReplacement>
|
|||
return hash;
|
||||
}
|
||||
|
||||
private bool CompareLists(List<string> list1, List<string> list2)
|
||||
private bool CompareLists(HashSet<string> list1, HashSet<string> list2)
|
||||
{
|
||||
if (list1.Count != list2.Count)
|
||||
return false;
|
||||
|
||||
for (int i = 0; i < list1.Count; i++)
|
||||
{
|
||||
if (!string.Equals(list1[i], list2[i], StringComparison.OrdinalIgnoreCase))
|
||||
if (!string.Equals(list1.ElementAt(i), list2.ElementAt(i), StringComparison.OrdinalIgnoreCase))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue