mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 06:15:12 +00:00
bump kotlin to 17.0.20 and mark declaration usage as opt-in
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
fd1f2c77ad
commit
3632b58eb1
@ -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);
|
||||
|
@ -24,7 +24,7 @@
|
||||
buildscript {
|
||||
|
||||
ext {
|
||||
kotlinVersion = '1.7.10'
|
||||
kotlinVersion = '1.7.20'
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
Loading…
Reference in New Issue
Block a user