Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Trubnikov committed Jun 29, 2019
1 parent c24f95b commit 59518e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/etienned/lecteuropus/Opus.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String serialize(){
xmlSerializer.endTag("", "Transit");

xmlSerializer.startTag("", "Subscription");
for (int i = 0; i < 3; i++) {
for (int i = 0; i < 4; i++) {
xmlSerializer.startTag("", "List");
xmlSerializer.attribute("", "index", Integer.toString(i));
xmlSerializer.text(bytesToHex(m_dataSubscription[i]));
Expand All @@ -110,7 +110,7 @@ public String serialize(){
xmlSerializer.endTag("", "Subscription");

xmlSerializer.startTag("", "Ticket");
for (int i = 0; i < 3; i++) {
for (int i = 0; i < 4; i++) {
xmlSerializer.startTag("", "List");
xmlSerializer.attribute("", "index", Integer.toString(i));
xmlSerializer.text(bytesToHex(m_dataTicket[i]));
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/xml/stm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<stm>
<bus id="2" logo="stm_orange" name="METRO Ligne orange" />
<bus id="1" logo="stm_vert" name="METRO Ligne verte" />
<bus id="2" logo="stm_orange" name="METRO Ligne orange" />
<bus id="3" logo="stm_jaune" name="METRO Ligne jaune" />
<bus id="4" logo="stm_bleue" name="METRO Ligne bleue" />
<bus id="" logo="stm_local" name="10" />
Expand Down Expand Up @@ -138,7 +138,7 @@
<bus id="" logo="stm_local" name="202" />
<bus id="" logo="stm_local" name="203" />
<bus id="" logo="stm_local" name="204" />
<bus id="" logo="stm_local" name="205" />
<bus id="145" logo="stm_local" name="205" />
<bus id="" logo="stm_local" name="206" />
<bus id="147" logo="stm_local" name="207" />
<bus id="" logo="stm_local" name="208" />
Expand Down Expand Up @@ -222,4 +222,4 @@
<bus id="" logo="stm_local" name="262" />
<bus id="" logo="stm_local" name="263" />

</stm>
</stm>

0 comments on commit 59518e3

Please sign in to comment.