diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2022-10-05 23:10:48 +0300 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2022-10-05 23:10:48 +0300 |
commit | 3632b58eb1b089985e53797c2ca4891effc044f7 (patch) | |
tree | b15a72cd0cfb680321bc59329c4c357d5a6d4300 /app/src | |
parent | fd1f2c77adbe126c154e8f8e8a1713fc97ce5d08 (diff) |
bump kotlin to 17.0.20 and mark declaration usage as opt-in
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/nextcloud/talk/callbacks/MentionAutocompleteCallback.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/com/nextcloud/talk/callbacks/MentionAutocompleteCallback.java b/app/src/main/java/com/nextcloud/talk/callbacks/MentionAutocompleteCallback.java index c121946b1..eeeaa45e0 100644 --- a/app/src/main/java/com/nextcloud/talk/callbacks/MentionAutocompleteCallback.java +++ b/app/src/main/java/com/nextcloud/talk/callbacks/MentionAutocompleteCallback.java @@ -39,6 +39,8 @@ import com.otaliastudios.autocomplete.AutocompleteCallback; import com.vanniktech.emoji.EmojiRange; import com.vanniktech.emoji.Emojis; +import kotlin.OptIn; + public class MentionAutocompleteCallback implements AutocompleteCallback<Mention> { private final ViewThemeUtils viewThemeUtils; private Context context; @@ -55,6 +57,7 @@ public class MentionAutocompleteCallback implements AutocompleteCallback<Mention this.viewThemeUtils = viewThemeUtils; } + @OptIn(markerClass = kotlin.ExperimentalStdlibApi.class) @Override public boolean onPopupItemClicked(Editable editable, Mention item) { int[] range = MagicCharPolicy.getQueryRange(editable); |