mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
dictionary code refactoring
This commit is contained in:
parent
520736b313
commit
7824ad3482
4 changed files with 100 additions and 74 deletions
|
@ -36,7 +36,7 @@ class DictionaryPreference extends ZLStringListPreference {
|
|||
super(context, resource, resourceKey);
|
||||
|
||||
myOption = DictionaryUtil.dictionaryOption();
|
||||
final List<PackageInfo> infos = DictionaryUtil.dictionaryInfos();
|
||||
final List<PackageInfo> infos = DictionaryUtil.dictionaryInfos(context);
|
||||
|
||||
final String[] values = new String[infos.size()];
|
||||
final String[] texts = new String[infos.size()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue