diff options
author | Allan Wang <me@allanwang.ca> | 2017-11-09 01:54:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 01:54:12 -0500 |
commit | e1c12f7716511d15e7534b959370619ebf04af81 (patch) | |
tree | fe8af0e01c6dc44f869b165b15b991ac9caee22a /app/src/main/kotlin/com/pitchedapps/frost/services | |
parent | fc4a018d4862f6d64b6a4c737d90c46574bbf92b (diff) | |
download | frost-e1c12f7716511d15e7534b959370619ebf04af81.tar.gz frost-e1c12f7716511d15e7534b959370619ebf04af81.tar.bz2 frost-e1c12f7716511d15e7534b959370619ebf04af81.zip |
Update/kau (#476)
* Update all dependencies
* Revert to working build
* Update kau again
* Update nullables
* Update more nullables
* Inline some things
* Add images to readme
* Update readme translators
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | 4 |
1 files changed, 2 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 749aec09..44b01bc3 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -45,7 +45,7 @@ fun setupNotificationChannels(c: Context) { manager.createNotificationChannel(mainChannel) } -val Context.frostNotification: NotificationCompat.Builder +inline val Context.frostNotification: NotificationCompat.Builder get() = NotificationCompat.Builder(this, BuildConfig.APPLICATION_ID).apply { setSmallIcon(R.drawable.frost_f_24) setAutoCancel(true) @@ -63,7 +63,7 @@ fun NotificationCompat.Builder.withDefaults(ringtone: String = Prefs.notificatio setDefaults(defaults) } -val NotificationCompat.Builder.withBigText: NotificationCompat.BigTextStyle +inline val NotificationCompat.Builder.withBigText: NotificationCompat.BigTextStyle get() = NotificationCompat.BigTextStyle(this) /** |