Skip to content

Commit

Permalink
Fix auxiliary bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarthon committed Jan 13, 2019
1 parent 887ee1a commit 78f9bbd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,13 @@ protected void onCreate(Bundle savedInstanceState) {
// Search for Auxiliary and delete it
formsOrder.remove(5);


final Vector<Integer> formsOrderReverse = new Vector<>();
formsOrderReverse.setSize(6);
for (int i = 0; i < formsOrder.size(); i++)
formsOrderReverse.set(formsOrder.get(i), i);
for (int i = 0; i < formsOrderReverse.size(); i++)
if(formsOrderReverse.get(i) == null)
formsOrderReverse.remove(i);

final Vector<TextView> textViews = new Vector<>();
textViews.addElement((TextView) findViewById(R.id.infinitive_result));
Expand Down

0 comments on commit 78f9bbd

Please sign in to comment.