mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
pathArray => pathList
This commit is contained in:
parent
3af51e5348
commit
f5df3fd3aa
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class FileChooserStringListPreference extends FileChooserPreference {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void setValueFromIntent(Intent data) {
|
protected void setValueFromIntent(Intent data) {
|
||||||
final List<String> value = FileChooserUtil.pathArrayFromData(data);
|
final List<String> value = FileChooserUtil.pathListFromData(data);
|
||||||
if (value.isEmpty()) {
|
if (value.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ public abstract class FileChooserUtil {
|
||||||
return data.getStringExtra(FileChooserActivity._FolderPath);
|
return data.getStringExtra(FileChooserActivity._FolderPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<String> pathArrayFromData(Intent data) {
|
public static List<String> pathListFromData(Intent data) {
|
||||||
return data.getStringArrayListExtra(FolderListDialogActivity.Key.FOLDER_LIST);
|
return data.getStringArrayListExtra(FolderListDialogActivity.Key.FOLDER_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue