From 93472087460d56ac494aba0f6d90b0e351bf218b Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov <di@noties.io> Date: Tue, 9 Jun 2020 15:47:22 +0300 Subject: [PATCH] AsyncDrawable remove deprecated hasKnownDimentions --- CHANGELOG.md | 3 +++ .../java/io/noties/markwon/image/AsyncDrawable.java | 11 ----------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8eddc98..b8f19b47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,9 @@ #### Deprecated * `core` - `MovementMethodPlugin.create()` use explicit `MovementMethodPlugin.link()` instead +#### Removed +* `image` - `AsyncDrawable#hasKnownDimentions` (deprecated in `4.2.1`) + [#235]: https://github.com/noties/Markwon/issues/235 [#259]: https://github.com/noties/Markwon/issues/259 diff --git a/markwon-core/src/main/java/io/noties/markwon/image/AsyncDrawable.java b/markwon-core/src/main/java/io/noties/markwon/image/AsyncDrawable.java index 8447110a..686ecd25 100644 --- a/markwon-core/src/main/java/io/noties/markwon/image/AsyncDrawable.java +++ b/markwon-core/src/main/java/io/noties/markwon/image/AsyncDrawable.java @@ -70,17 +70,6 @@ public class AsyncDrawable extends Drawable { return imageSizeResolver; } - /** - * @see #hasKnownDimensions() - * @since 4.0.0 - * @deprecated 4.2.1 - */ - @SuppressWarnings({"unused", "WeakerAccess"}) - @Deprecated - public boolean hasKnownDimentions() { - return canvasWidth > 0; - } - /** * @since 4.2.1 */