Skip to content

Commit

Permalink
Merge pull request Karn#20 from Karn/develop
Browse files Browse the repository at this point in the history
Add missing inferred types to Notification examples.
  • Loading branch information
Karn authored Oct 10, 2018
2 parents 31b99c7 + 9993dd5 commit 7b519da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For instances where you'd like to show a longer message you can use the `BigText
```Kotlin
Notify
.with(context)
.asBigText { // this: Payload.Content.TextList
.asBigText { // this: Payload.Content.BigText
// The title of the notification.
title = "Chocolate brownie sundae"
// The second line of the (collapsed) notification.
Expand All @@ -75,7 +75,7 @@ The big picture allows an application to notify the user in a manner similar to
```Kotlin
Notify
.with(context)
.asBigPicture {
.asBigPicture { // this: Payload.Content.BigPicture
// The title of the notification.
title = "Chocolate brownie sundae"
// The second line of the (collapsed) notification.
Expand All @@ -99,7 +99,7 @@ The message notification is useful when displaying conversations within an appli
```Kotlin
Notify
.with(context)
.asMessage {
.asMessage { // this: Payload.Content.Message
userDisplayName = "Karn"
conversationTitle = "Sundae chat"
messages = Arrays.asList(
Expand Down
2 changes: 1 addition & 1 deletion gradle/configuration.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def versions = [
kotlin: '1.2.41',
support: '27.1.1',

jacoco: '0.8.2-SNAPSHOT',
jacoco: '0.8.2',
dokka: '0.9.17'
]

Expand Down

0 comments on commit 7b519da

Please sign in to comment.