Skip to content

Commit

Permalink
Refactor HomeViewModel and LyricsFetchViewModel to include support fo…
Browse files Browse the repository at this point in the history
…r synced and unsynced Musixmatch lyrics retrieval
  • Loading branch information
kerollosy committed Oct 21, 2024
1 parent 1cabd03 commit e15ab7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ class HomeViewModel(
version,
provider = userSettingsController.selectedProvider,
includeTranslationNetEase = userSettingsController.includeTranslation,
multiPersonWordByWord = userSettingsController.multiPersonWordByWord
multiPersonWordByWord = userSettingsController.multiPersonWordByWord,
syncedMusixmatch = userSettingsController.syncedMusixmatch
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class LyricsFetchViewModel(
version,
userSettingsController.selectedProvider,
userSettingsController.includeTranslation,
userSettingsController.multiPersonWordByWord
userSettingsController.multiPersonWordByWord,
userSettingsController.syncedMusixmatch
)

fun loadSongInfo(context: Context, tryingAgain: Boolean = false) {
Expand Down

0 comments on commit e15ab7a

Please sign in to comment.