-
Notifications
You must be signed in to change notification settings - Fork 2
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 in the code involve the addition of cond…
…itions in the `Index.razor` file. These conditions check the number of favorites and the last image in the history. The code has also been restructured and reformatted for better readability. 1. Code formatting and restructuring: The code in the `Index.razor` file has been re-indented and some lines have been moved around to improve readability and structure. 2. Addition of condition for favorites: A condition has been added to check if the number of favorites is greater than or equal to 3. Depending on the result, the favorites are displayed in three columns or without chunking. 3. Reformatted `clipboardSupported` check: The check for `clipboardSupported` has been reformatted to improve readability. 4. Addition of condition for image history: In the function that handles image history, a condition has been added to check if the last image in the history is the same as the current image. Depending on the result, the current image is set to `PreloadImageUrl1`. 5. Handling of image history: In the function that handles image history, the current image is set to the previous image in the history if it exists. 6. Removal of unnecessary code: Some unnecessary lines of code have been removed.
- Loading branch information
SCJA03
committed
Mar 21, 2024
1 parent
7125ddb
commit bfae67d
Showing
1 changed file
with
42 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters