Skip to content

Commit

Permalink
hide download bar on default fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 5, 2024
1 parent a115ac6 commit 69d4a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/custom_song_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class $modify(JBSongWidget, CustomSongWidget) {
auto active = NongManager::get()->getActiveNong(obj->m_songID).value();
if (active.path == result.value().defaultPath) {
NongManager::get()->fixDefault(obj);
m_sliderBar->setVisible(false);
}
if (!result.value().defaultValid && active.path == result.value().defaultPath) {
NongManager::get()->prepareCorrectDefault(obj->m_songID);
Expand Down

0 comments on commit 69d4a6b

Please sign in to comment.