diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-19 00:28:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 00:28:56 -0700 |
commit | 495b1bd49835070ca43a523831caee0f70079604 (patch) | |
tree | 7b8d56aa22fcf3a9fd1bf566a17fe1997180288a /app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | |
parent | e4679b1663fa78a99c6c8225e454595c6c6f4e38 (diff) | |
download | frost-495b1bd49835070ca43a523831caee0f70079604.tar.gz frost-495b1bd49835070ca43a523831caee0f70079604.tar.bz2 frost-495b1bd49835070ca43a523831caee0f70079604.zip |
Dev - minor updates (#73)v1.3.3
* Add lint
* Add new libs
* Update libs and add friends tab
* Aggressively hide nonrecent posts
* Update dependencies
* Add php to most recents
* Add full size image downloader
* Fix css cleaner
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | 2 |
1 files changed, 2 insertions, 0 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 737b86ab..a24e4778 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -35,6 +35,8 @@ val Context.frostNotification: NotificationCompat.Builder color = color(R.color.frost_notification_accent) } +@Suppress("DEPRECATION") +//The update feature is for Android O and seems to still be in beta fun Notification.frostConfig() = apply { if (Prefs.notificationVibrate) defaults = defaults or Notification.DEFAULT_VIBRATE if (Prefs.notificationSound) defaults = defaults or Notification.DEFAULT_SOUND |