Skip to content

Commit

Permalink
bump: bump to v0.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Malopieds committed Jul 11, 2024
1 parent 66cd4f5 commit ec6c3eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ android {
applicationId = "com.malopieds.innertune"
minSdk = 24
targetSdk = 34
versionCode = 24
versionName = "0.5.7"
versionCode = 25
versionName = "0.5.8"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
25 changes: 0 additions & 25 deletions app/src/main/java/com/malopieds/innertune/db/MusicDatabase.kt
Original file line number Diff line number Diff line change
Expand Up @@ -400,28 +400,3 @@ class Migration13To14 : AutoMigrationSpec {
db.execSQL("UPDATE playlist SET lastUpdateTime = '${Converters().dateToTimestamp(LocalDateTime.now())}'")
}
}

class Migration14To15 : AutoMigrationSpec {
override fun onPostMigrate(db: SupportSQLiteDatabase) {
val columnExists =
db.query("PRAGMA table_info(song)").use { cursor ->
var exists = false
while (cursor.moveToNext()) {
val nameIndex = cursor.getColumnIndex("inLibrary")
if (nameIndex != -1) {
val name = cursor.getString(nameIndex)
if (name == "inLibrary") {
exists = true
break
}
}
}
exists
}

if (!columnExists) {
db.execSQL("ALTER TABLE song ADD COLUMN inLibrary INTEGER DEFAULT 0 NOT NULL")
db.execSQL("UPDATE song SET inLibrary = ${Converters().dateToTimestamp(LocalDateTime.now())} WHERE liked == 1")
}
}
}
6 changes: 6 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/25.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Improved Player UI with gradient and squiggly progress bar
- Bring back library features
- Improved sorting of artists
- No duplication in playlists
- Other versions of albums
- Update languages

0 comments on commit ec6c3eb

Please sign in to comment.