diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-12-15 17:43:44 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-12-17 18:14:29 +0300 |
commit | 6b4e57da9cc62c06511fc7a01b1c914b2a3144a0 (patch) | |
tree | 1d91323ababce89cdfb77cc31ecb67320df219df /app/src/main | |
parent | c3a3ca561987f3eefbc8de8165192c2715c59714 (diff) |
Enhance context based formatting
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/util/CommentsUtil.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/util/CommentsUtil.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/util/CommentsUtil.java index 5251291c8..8fa24988d 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/util/CommentsUtil.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/util/CommentsUtil.java @@ -1,12 +1,14 @@ package it.niedermann.nextcloud.deck.ui.card.comments.util; +import androidx.annotation.Nullable; import androidx.core.util.Pair; public class CommentsUtil { + @Nullable public static Pair<String, Integer> getUserNameForMentionProposal(String text, int cursorPosition) { - Pair result = null; + Pair<String, Integer> result = null; if (text != null) { // find start of relevant substring |