From daba52e66b76fb30e9eb61cd492f27ccc06ac9fe Mon Sep 17 00:00:00 2001 From: Infi Date: Sun, 12 Mar 2023 19:48:05 +0100 Subject: [PATCH] fix: apache-2.0 state changes --- .../chat/revolt/internals/markdown/BlockBackgroundNode.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/chat/revolt/internals/markdown/BlockBackgroundNode.kt b/app/src/main/java/chat/revolt/internals/markdown/BlockBackgroundNode.kt index 4942e6d1..df3bf4dd 100644 --- a/app/src/main/java/chat/revolt/internals/markdown/BlockBackgroundNode.kt +++ b/app/src/main/java/chat/revolt/internals/markdown/BlockBackgroundNode.kt @@ -15,6 +15,11 @@ import com.discord.simpleast.core.node.Node // https://github.com/discord/SimpleAST/blob/567b61c51056cbdec39e839100690c576c26a4c6/app/src/main/java/com/discord/simpleast/sample/spans/BlockBackgroundNode.kt // LICENSED UNDER THE APACHE LICENSE, VERSION 2.0 // Adapted for Revolt. +// +// Changes: +// - Fill and stroke colours are now parameters +// - Whether we are in a quote is no longer a boolean, but an integer with the quote depth +// - The left margin is now calculated based on the quote depth /** * Creates a block background for code sections.