diff options
author | Allan Wang <me@allanwang.ca> | 2018-03-11 19:24:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 19:24:32 -0400 |
commit | fe51373f5a95323d64f6d966888a2c6c62a36deb (patch) | |
tree | 328bf7ab5bf00f01e070e9d84ff71cac59b0ecf1 /app/src/main/kotlin/com/pitchedapps/frost/services | |
parent | 67988a25d83fc10b187fcc821c3ceacfad0195d5 (diff) | |
download | frost-fe51373f5a95323d64f6d966888a2c6c62a36deb.tar.gz frost-fe51373f5a95323d64f6d966888a2c6c62a36deb.tar.bz2 frost-fe51373f5a95323d64f6d966888a2c6c62a36deb.zip |
Enhancement/debug mode (#779)
* Update changelog
* Improve debugger
* Remove need for mapping urls
* Remove excess logs
* Clean up
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt index b6427e5b..30c94744 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -1,6 +1,5 @@ package com.pitchedapps.frost.services -import android.annotation.SuppressLint import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager @@ -93,7 +92,7 @@ fun NotificationCompat.Builder.setFrostAlert(enable: Boolean, ringtone: String): if (enable) Notification.GROUP_ALERT_CHILDREN else Notification.GROUP_ALERT_SUMMARY) } else if (!enable) { - setDefaults(0) + setDefaults(0) } else { var defaults = 0 if (Prefs.notificationVibrate) defaults = defaults or Notification.DEFAULT_VIBRATE |