fix Kisok spelling error
This commit is contained in:
parent
d928f5759f
commit
c3f04ea67d
|
@ -48,7 +48,7 @@ dependencies {
|
||||||
exclude module: 'support-annotations'
|
exclude module: 'support-annotations'
|
||||||
}
|
}
|
||||||
|
|
||||||
compile 'com.github.TeamNewPipe:NewPipeExtractor:1df3f67'
|
compile 'com.github.TeamNewPipe:NewPipeExtractor:7899cd1'
|
||||||
|
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
||||||
|
|
|
@ -234,7 +234,7 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
|
||||||
StreamingService service = NewPipe.getService(currentServiceId);
|
StreamingService service = NewPipe.getService(currentServiceId);
|
||||||
KioskList kl = service.getKioskList();
|
KioskList kl = service.getKioskList();
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for(final String ks : kl.getAvailableKisoks()) {
|
for(final String ks : kl.getAvailableKiosks()) {
|
||||||
menu.add(0, KIOSK_MENU_OFFSETT + i, Menu.NONE,
|
menu.add(0, KIOSK_MENU_OFFSETT + i, Menu.NONE,
|
||||||
KioskTranslator.getTranslatedKioskName(ks, getContext()))
|
KioskTranslator.getTranslatedKioskName(ks, getContext()))
|
||||||
.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {
|
.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {
|
||||||
|
|
|
@ -125,7 +125,7 @@ public class SelectKioskFragment extends DialogFragment {
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
||||||
for(StreamingService service : NewPipe.getServices()) {
|
for(StreamingService service : NewPipe.getServices()) {
|
||||||
for(String kioskId : service.getKioskList().getAvailableKisoks()) {
|
for(String kioskId : service.getKioskList().getAvailableKiosks()) {
|
||||||
String name = service.getServiceInfo().name;
|
String name = service.getServiceInfo().name;
|
||||||
name += "/";
|
name += "/";
|
||||||
name += KioskTranslator.getTranslatedKioskName(kioskId, getContext());
|
name += KioskTranslator.getTranslatedKioskName(kioskId, getContext());
|
||||||
|
|
|
@ -286,7 +286,7 @@
|
||||||
<string name="select_a_kiosk">Select a kiosk</string>
|
<string name="select_a_kiosk">Select a kiosk</string>
|
||||||
|
|
||||||
<!-- Kiosk Names -->
|
<!-- Kiosk Names -->
|
||||||
<string name="kiosk">Kisok</string>
|
<string name="kiosk">Kiosk</string>
|
||||||
<string name="trending">Trending</string>
|
<string name="trending">Trending</string>
|
||||||
<string name="top_50">Top 50</string>
|
<string name="top_50">Top 50</string>
|
||||||
<string name="new_and_hot">New & hot</string>
|
<string name="new_and_hot">New & hot</string>
|
||||||
|
|
Loading…
Reference in New Issue