Fixed to work on old Androids

This commit is contained in:
tom5079
2020-09-13 21:42:02 +09:00
parent 701017d2ca
commit 0f8c68b22e
3 changed files with 4 additions and 2 deletions

View File

@@ -95,6 +95,7 @@ dependencies {
transitive = false
}
implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:4.1.2'
implementation 'com.gu:option:1.3'
implementation 'net.rdrei.android.dirchooser:library:3.2@aar'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'com.andrognito.patternlockview:patternlockview:1.0.0'

View File

@@ -186,7 +186,7 @@ class DownloadLocationDialogFragment : DialogFragment() {
if (key == null) entries[key]!!.location_available.text = downloadFolder
}
else
Preferences["download_folder"] = File(directory).canonicalPath
Preferences["download_folder"] = File(directory).toURI().toString()
}
}
else -> super.onActivityResult(requestCode, resultCode, data)

View File

@@ -100,7 +100,8 @@
android:contentDescription="@string/galleryblock_thumbnail_description"
android:adjustViewBounds="true"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/galleryblock_progressbar"/>
app:layout_constraintTop_toBottomOf="@id/galleryblock_progressbar"
app:layout_constraintBottom_toBottomOf="@id/barrier"/>
<TextView
style="@style/TextAppearance.AppCompat.Headline"