Nextrek
Diff Revisions
784
vs
785
for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/SelectionActivity.java
|
@@ -116,7 +116,7 @@ |
116 |
116 |
|
if ( Utils.isNetworkConnected(c)) { |
117 |
117 |
|
Bundle b = new Bundle(); |
118 |
118 |
|
b.putBoolean("fast", false); |
119 |
|
- |
b.putInt("tipologia", ((Spinner) findViewById(R.id.spinner2)).getSelectedItemPosition() - 1); |
|
119 |
+ |
b.putInt("tipologia", ((Spinner) findViewById(R.id.spinner2)).getSelectedItemPosition() ); |
120 |
120 |
|
|
121 |
121 |
|
Intent in = new Intent(SelectionActivity.this, MapActivity.class); |
122 |
122 |
|
in.putExtras(b); |