Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed Apr 18, 2019
1 parent ed23388 commit 03e1730
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ core and normal-use functionality.
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:core:2.7.0'
implementation 'com.afollestad.material-dialogs:core:2.8.0'
}
```

Expand All @@ -43,7 +43,7 @@ The `input` module contains extensions to the core module, such as a text input
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:input:2.7.0'
implementation 'com.afollestad.material-dialogs:input:2.8.0'
}
```

Expand All @@ -58,7 +58,7 @@ The `files` module contains extensions to the core module, such as a file and fo
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:files:2.7.0'
implementation 'com.afollestad.material-dialogs:files:2.8.0'
}
```

Expand All @@ -73,7 +73,7 @@ The `color` module contains extensions to the core module, such as a color choos
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:color:2.7.0'
implementation 'com.afollestad.material-dialogs:color:2.8.0'
}
```

Expand All @@ -88,7 +88,7 @@ The `datetime` module contains extensions to make date, time, and date-time pick
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:datetime:2.7.0'
implementation 'com.afollestad.material-dialogs:datetime:2.8.0'
}
```

Expand All @@ -103,6 +103,6 @@ The `lifecycle` module contains extensions to make dialogs work with AndroidX li
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:lifecycle:2.7.0'
implementation 'com.afollestad.material-dialogs:lifecycle:2.8.0'
}
```
11 changes: 5 additions & 6 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
2.7.0
2.8.0

1. Undid dialog max width changes again, to what they were before they looked small. Added `maxWidth` setter function that you can use to custom dialog max widths if you wish, although it's discouraged.
2. Added a `dialogWrapContent` parameter to `customView(...)` which instructs the dialog to set its max width to the measured width of your custom view.
3. The `datetime` dialogs use the `dialogWrapContent` parameter above, which fixes how they look in landscape etc.
4. You can set a `maxDate` for date picker dialogs.
4. Misc. bug fixes and code cleanup.
1. Kotlin 1.3.30.
2. Add an `updateListItems(...)` method to update plain/single/multi-choice items after dialog creation.
3. Fix `datetime` dialog layouts looking uncentered by only applying dialog width wrap in landscape.
4. Other bug fixes and tweaks.
2 changes: 1 addition & 1 deletion documentation/COLOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The `color` module contains extensions to the core module, such as a color choos
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:color:2.7.0'
implementation 'com.afollestad.material-dialogs:color:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/CORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ core and normal-use functionality.
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:core:2.7.0'
implementation 'com.afollestad.material-dialogs:core:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/DATETIME.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The `datetime` module contains extensions to make date, time, and date-time pick
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:datetime:2.7.0'
implementation 'com.afollestad.material-dialogs:datetime:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/FILES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `files` module contains extensions to the core module, such as a file and fo
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:files:2.7.0'
implementation 'com.afollestad.material-dialogs:files:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/INPUT.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The `input` module contains extensions to the core module, such as a text input
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:input:2.7.0'
implementation 'com.afollestad.material-dialogs:input:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion documentation/LIFECYCLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `lifecycle` module contains extensions to make dialogs work with AndroidX li
```gradle
dependencies {
...
implementation 'com.afollestad.material-dialogs:lifecycle:2.7.0'
implementation 'com.afollestad.material-dialogs:lifecycle:2.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

0 comments on commit 03e1730

Please sign in to comment.