Skip to content

Commit

Permalink
sync: smoother not found dark mode (fixes #5100) (#5128)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
pavi38 and dogi authored Jan 27, 2025
1 parent da8ea5d commit 35eb97a
Show file tree
Hide file tree
Showing 2 changed files with 3 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 2240
versionName "0.22.40"
versionCode 2241
versionName "0.22.41"
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 @@ -191,14 +191,13 @@ abstract class BaseResourceFragment : Fragment() {
return
}

resourceNotFoundDialog = AlertDialog.Builder(requireContext())
resourceNotFoundDialog = AlertDialog.Builder(requireContext(), R.style.AlertDialogTheme)
.setTitle(R.string.resource_not_found)
.setMessage(R.string.resource_not_found_message)
.setNegativeButton(R.string.close) { dialog, _ ->
dialog.dismiss()
}
.create()

resourceNotFoundDialog?.setOnDismissListener {
resourceNotFoundDialog = null
}
Expand Down

0 comments on commit 35eb97a

Please sign in to comment.