mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
fixed recent/favorites list behaviour
'by series' library view
This commit is contained in:
parent
bc82f3abf6
commit
6d96924ac5
6 changed files with 42 additions and 42 deletions
|
@ -33,16 +33,6 @@ public class AuthorTree extends LibraryTree {
|
|||
Author = author;
|
||||
}
|
||||
|
||||
SeriesTree getSeriesSubTree(String series) {
|
||||
final SeriesTree temp = new SeriesTree(series);
|
||||
int position = Collections.binarySearch(subTrees(), temp);
|
||||
if (position >= 0) {
|
||||
return (SeriesTree)subTrees().get(position);
|
||||
} else {
|
||||
return new SeriesTree(this, series, - position - 1);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue