Merge branch 'main' of github.com:binwiederhier/ntfy-android into message-bar-2
This commit is contained in:
commit
689ebf40a3
4 changed files with 15 additions and 7 deletions
|
|
@ -17,8 +17,8 @@ android {
|
|||
minSdkVersion 26
|
||||
targetSdkVersion 36
|
||||
|
||||
versionCode 52
|
||||
versionName "1.19.4"
|
||||
versionCode 53
|
||||
versionName "1.20.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
|
|
|||
|
|
@ -327,7 +327,13 @@ fun mimeTypeToIconResource(mimeType: String?): Int {
|
|||
}
|
||||
|
||||
fun supportedImage(mimeType: String?): Boolean {
|
||||
return listOf("image/jpeg", "image/png", "image/gif", "image/webp").contains(mimeType)
|
||||
return listOf(
|
||||
"image/jpeg",
|
||||
"image/jpg", // Technically not a valid MIME type, see https://github.com/binwiederhier/ntfy-android/pull/142
|
||||
"image/png",
|
||||
"image/gif",
|
||||
"image/webp"
|
||||
).contains(mimeType)
|
||||
}
|
||||
|
||||
// We cannot open .apk files, because we don't have the REQUEST_INSTALL_PACKAGES anymore
|
||||
|
|
|
|||
5
fastlane/metadata/android/en-US/changelog/53.txt
Normal file
5
fastlane/metadata/android/en-US/changelog/53.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Maintenance + bug fixes:
|
||||
* Updated dependencies, minimum SDK version to 26, clean up legacy code, upgrade Gradle (ntfy-android#140, thanks to @cyb3rko)
|
||||
* Updated target SDK version to 36
|
||||
* Fixed crashes with redrawing the list when temporarily muted topics expire
|
||||
* Fixed ForegroundServiceDidNotStartInTimeException (#1520)
|
||||
|
|
@ -1,5 +1,2 @@
|
|||
Maintenance + bug fixes:
|
||||
* Updated dependencies, minimum SDK version to 26, clean up legacy code, upgrade Gradle (ntfy-android#140, thanks to @cyb3rko)
|
||||
* Updated target SDK version to 36
|
||||
* Fixed crashes with redrawing the list when temporarily muted topics expire
|
||||
* Fixed ForegroundServiceDidNotStartInTimeException (#1520)
|
||||
* Add support for (technically incorrect) 'image/jpg' MIME type (ntfy-android#142, thanks to @Murilobeluco)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue