Skip to content

Commit

Permalink
Fix notification channels crash
Browse files Browse the repository at this point in the history
  • Loading branch information
premnirmal committed Aug 25, 2022
1 parent ed4b7a2 commit b0a040a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class NotificationsHandler @Inject constructor(
}

private fun createChannels(): Boolean {
val hasPermission = VERSION.SDK_INT >= 33 && context.hasNotificationPermission()
val hasPermission = if (VERSION.SDK_INT >= 33) context.hasNotificationPermission() else true
if (!hasPermission) {
return false
}
Expand Down
4 changes: 2 additions & 2 deletions app/version.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# this file is purely for f-droid because it cannot infer the version name/code from the git tag
versionName=3.9.808
versionCode=300900008
versionName=3.9.809
versionCode=300900009

0 comments on commit b0a040a

Please sign in to comment.