Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes include a major refactoring of the `Inde…
…x.razor` file, the addition of a new `JsConsole` class, a new `LinkedListExtension` class, and an update to the `Nekos.sln.DotSettings` file. 1. The `Index.razor` file has undergone substantial refactoring. The changes include renaming of injected services and variables for clarity and consistency, updating the image loading logic to use a linked list of `ImageSchema` objects, moving the footer outside of the conditional rendering block, and updating various methods such as `Next`, `Previous`, `ToggleFavorite`, and `HistoryToFavorite`. The swipe event handlers have also been updated to call the `Next` and `Previous` methods based on the swipe direction. 2. A new `JsConsole` class has been added to the `Nekos.Utils` namespace. This class provides a method for logging messages to the JavaScript console. 3. A new `LinkedListExtension` class has been added to the `Nekos.Utils` namespace. This class provides an extension method for finding the index of an item in a linked list based on a predicate. 4. The `Nekos.sln.DotSettings` file has been updated to include "Nekos" in the user dictionary. This allows ReSharper to recognize "Nekos" as a correctly spelled word.
- Loading branch information