Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FlafyDev committed Apr 6, 2024
1 parent 4b4b03f commit 6c6060c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/an_song_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void ANSongCell::setButtonsVisible() {
void ANSongCell::onDeleteSong(CCObject *target) {
const fs::path downloadPath = getFileDownloadPath(false);
if (!fs::exists(downloadPath)) {
Notification::create("File doesn't exists", NotificationIcon::Error)->show();
Notification::create("File doesn't exist", NotificationIcon::Error)->show();
return;
}
fs::remove(downloadPath);
Expand All @@ -113,7 +113,7 @@ void ANSongCell::setSong() {
const Ref<CustomSongWidget> customSongWidget = m_parentPopup->m_parentWidget;

if (!fs::exists(downloadPath)) {
Notification::create("File doesn't exists", NotificationIcon::Error)->show();
Notification::create("File doesn't exist", NotificationIcon::Error)->show();
return;
}

Expand Down

0 comments on commit 6c6060c

Please sign in to comment.