mirror of
https://github.com/Lambada10/SongSync.git
synced 2026-04-25 22:55:54 +03:00
[PR #2] [MERGED] App codebase improvement #165
Labels
No labels
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SongSync#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Lambada10/SongSync/pull/2
Author: @BobbyESP
Created: 6/24/2023
Status: ✅ Merged
Merged: 6/25/2023
Merged by: @Lambada10
Base:
master← Head:master📝 Commits (10+)
aa45a8a- Moved almost every string to a string resource3a2e27d- Moved LyricsStatus to an enum class (would be better if they were sealed classes, but it's okay)574937d- Now the lyrics aren't searched every time you rotate the screen. (Note for the dev: using a LaunchedEffect you make sure that the rememberSaveable values are accessible)3caac09- Merged the changesf1bcbaf- Fixed app crashing at enter. (Same as before, use LaunchedEffect)6b8fc34- Moved hardcoded strings to XML5e7d96e- Moved dependencies to versions catalog5c6efca- Made "Generated using SongSync" untranslatable786d9d2- Started moving to coroutines9402aeb- Made the app name untranslatable📊 Changes
18 files changed (+868 additions, -629 deletions)
View changed files
📝
app/build.gradle.kts(+14 -8)📝
app/src/main/AndroidManifest.xml(+1 -0)📝
app/src/main/java/pl/lambada/songsync/MainActivity.kt(+10 -7)📝
app/src/main/java/pl/lambada/songsync/data/MainViewModel.kt(+12 -6)📝
app/src/main/java/pl/lambada/songsync/data/Song.kt(+44 -4)📝
app/src/main/java/pl/lambada/songsync/data/SongInfo.kt(+20 -0)➕
app/src/main/java/pl/lambada/songsync/data/ext/CoroutinesExt.kt(+6 -0)➕
app/src/main/java/pl/lambada/songsync/data/ext/StringExt.kt(+7 -0)➕
app/src/main/java/pl/lambada/songsync/ui/components/AboutCard.kt(+35 -0)➕
app/src/main/java/pl/lambada/songsync/ui/components/SongCard.kt(+55 -0)📝
app/src/main/java/pl/lambada/songsync/ui/screens/AboutScreen.kt(+25 -53)📝
app/src/main/java/pl/lambada/songsync/ui/screens/BrowseScreen.kt(+118 -125)📝
app/src/main/java/pl/lambada/songsync/ui/screens/HomeScreen.kt(+428 -421)📝
app/src/main/res/values/strings.xml(+66 -1)📝
build.gradle.kts(+2 -0)📝
gradle.properties(+4 -2)📝
gradle/libs.versions.toml(+20 -1)📝
gradle/wrapper/gradle-wrapper.properties(+1 -1)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.