mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-10 00:27:45 +00:00
Revert "adjust alphabet for AlphabetIndexer"
This reverts commit bc1e4d52a8
.
see discussion in #803: the commit makes things worse
This commit is contained in:
parent
c064ba199c
commit
0da6f6e4da
2 changed files with 2 additions and 3 deletions
|
@ -33,7 +33,6 @@ import androidx.fragment.app.ListFragment;
|
|||
|
||||
import helium314.keyboard.latin.R;
|
||||
import helium314.keyboard.latin.common.LocaleUtils;
|
||||
import helium314.keyboard.latin.utils.RunInLocaleKt;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
|
@ -324,7 +323,7 @@ public class UserDictionarySettings extends ListFragment {
|
|||
super(context, layout, c, from, to, 0 /* flags */);
|
||||
|
||||
if (null != c) {
|
||||
final String alphabet = RunInLocaleKt.runInLocale(context, mLocale, (ctx) -> ctx.getString(R.string.user_dict_fast_scroll_alphabet));
|
||||
final String alphabet = context.getString(R.string.user_dict_fast_scroll_alphabet);
|
||||
final int wordColIndex = c.getColumnIndexOrThrow(UserDictionary.Words.WORD);
|
||||
mIndexer = new AlphabetIndexer(c, wordColIndex, alphabet);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue