fix: user related order issue
This commit is contained in:
@ -60,7 +60,7 @@ namespace Pixiview.Illust
|
|||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
illustIds = init.body.illusts.Keys.OrderByDescending(i => i).ToArray();
|
illustIds = init.body.illusts.Keys.OrderByDescending(i => int.TryParse(i, out int id) ? id : -1).ToArray();
|
||||||
App.DebugPrint($"user has ({illustIds.Length}) illusts.");
|
App.DebugPrint($"user has ({illustIds.Length}) illusts.");
|
||||||
startIndex = 0;
|
startIndex = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user