From 82af163817a608dfe066ac3038d55a103f2fb1f2 Mon Sep 17 00:00:00 2001 From: shub39 Date: Sun, 29 Sep 2024 13:22:22 +0530 Subject: [PATCH] :bug: Fixed Genius Lyrics not copying --- app/build.gradle.kts | 4 ++-- app/src/main/java/com/shub39/rush/ui/page/LyricsPage.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4355a11..3b577d2 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,8 +16,8 @@ android { applicationId = "com.shub39.rush" minSdk = 29 targetSdk = 35 - versionCode = 17 - versionName = "2.3.0" + versionCode = 18 + versionName = "2.3.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/app/src/main/java/com/shub39/rush/ui/page/LyricsPage.kt b/app/src/main/java/com/shub39/rush/ui/page/LyricsPage.kt index ebef213..e078a68 100644 --- a/app/src/main/java/com/shub39/rush/ui/page/LyricsPage.kt +++ b/app/src/main/java/com/shub39/rush/ui/page/LyricsPage.kt @@ -245,7 +245,7 @@ fun LyricsPage( if (selectedLines.isEmpty()) { copyToClipBoard( context, - nonNullSong.lyrics, + if (source == "LrcLib") nonNullSong.lyrics else nonNullSong.geniusLyrics ?: "", "Complete Lyrics" ) } else {