Skip to content

Commit

Permalink
courses: smoother download dialog (fixes #4600) (#4643)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
deeppp15 and dogi authored Oct 16, 2024
1 parent d1e770d commit e6c4d89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2034
versionName "0.20.34"
versionCode 2035
versionName "0.20.35"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class CoursesFragment : BaseRecyclerFragment<RealmMyCourse?>(), OnCourseItemSele
}

private fun createAlertDialog(): AlertDialog {
val builder = AlertDialog.Builder(requireContext(), R.style.AlertDialogTheme)
val builder = AlertDialog.Builder(requireContext(), R.style.CustomAlertDialog)
var msg = getString(R.string.success_you_have_added_the_following_courses)
if ((selectedItems?.size ?: 0) <= 5) {
for (i in selectedItems?.indices!!) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class ResourcesFragment : BaseRecyclerFragment<RealmMyLibrary?>(), OnLibraryItem
}

private fun createAlertDialog(): AlertDialog {
val builder = AlertDialog.Builder(requireContext(), R.style.AlertDialogTheme)
val builder = AlertDialog.Builder(requireContext(), R.style.CustomAlertDialog)
var msg = getString(R.string.success_you_have_added_these_resources_to_your_mylibrary)
if ((selectedItems?.size ?: 0) <= 5) {
for (i in selectedItems?.indices ?: emptyList()) {
Expand Down

0 comments on commit e6c4d89

Please sign in to comment.