Skip to content

Commit

Permalink
Bugfixes & binary updates
Browse files Browse the repository at this point in the history
Signed-off-by: AndreaCioccarelli <[email protected]>
  • Loading branch information
cioccarellia committed Aug 6, 2019
1 parent 48dda7e commit 0b743a5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.andreacioccarelli.musicdownloader"
minSdkVersion 21
targetSdkVersion 28
versionCode 23
versionName "1.3.13"
versionCode 24
versionName "1.3.14"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,19 @@ class ChecklistAdapter(

with(holder.card) {
setOnClickListener {
val i = holder.adapterPosition

// Dismisses dialog, puts text inside the box and performs the search
val ref = (activity as MainActivity)
logd(holder.adapterPosition, data[holder.adapterPosition], App.checklistedIds)
logd(i, data[i], App.checklistedIds)

val search = ref.find<TextView>(R.id.search)
search.text = data[holder.adapterPosition].title
search.text = data[i].title

val rv = ref.find(R.id.recyclerView) as RecyclerView?
rv?.smoothScrollToPosition(0)

ref.performSearch(implicitLink = data[holder.adapterPosition].videoId.toYoutubeUrl())
ref.performSearch(implicitLink = data[i].videoId.toYoutubeUrl())
ref.checklistDialog.dismiss()
}

Expand Down
Binary file modified bin/music-downloader.apk
Binary file not shown.
6 changes: 3 additions & 3 deletions bin/update.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versionCode": 23,
"versionName": "1.3.13",
"changelog": "Interface improvements and bugfixes for summer :)",
"versionCode": 24,
"versionName": "1.3.14",
"changelog": "UI improvements and bugfixes for summer :)",

"downloadInfo": {
"useBundledUpdateLink": true,
Expand Down

0 comments on commit 0b743a5

Please sign in to comment.