pass the language
This commit is contained in:
parent
dc9ea923b8
commit
81135e8404
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ package org.ligi.passandroid.injections;
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
import com.google.common.base.Optional;
|
||||||
|
|
||||||
import org.ligi.passandroid.model.PassStore;
|
|
||||||
import org.ligi.passandroid.model.Pass;
|
import org.ligi.passandroid.model.Pass;
|
||||||
|
import org.ligi.passandroid.model.PassStore;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -43,7 +43,7 @@ public class FixedPassListPassStore implements PassStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Pass getPassbookForId(String id) {
|
public Pass getPassbookForId(String id, String language) {
|
||||||
for (Pass pass : passes) {
|
for (Pass pass : passes) {
|
||||||
if (pass.getId().equals(id)) {
|
if (pass.getId().equals(id)) {
|
||||||
return pass;
|
return pass;
|
||||||
|
|
Loading…
Reference in a new issue