Commit 229615b79924129e3dc20e4676939e883feaf2d5

Authored by JLo'w
1 parent 2f69be20

PremiereActivite/app/src/main/java/com/example/app_10p5/MainActivite.java
... ... @@ -388,7 +388,6 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr
388 388 if(output.get("status").toString().equals("ok")){
389 389 switch (mState){
390 390 case STATE_COMMANDE:
391   - Snackbar.make(findViewById(R.id.coordinator), "Client débité de " + output.get("montant") + "€. " + output.get("soldeAncien") + "€ -> " + output.getString("soldeNouveau") + "€", Snackbar.LENGTH_INDEFINITE).show();
392 391 break;
393 392 case STATE_CONNEXION:
394 393 mToken = output.get("jeton").toString();
... ... @@ -402,10 +401,8 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr
402 401 Snackbar.make(findViewById(R.id.coordinator), "Client créé avec un solde de " + output.get("soldeNouveau") + "€", Snackbar.LENGTH_INDEFINITE).show();
403 402 break;
404 403 case STATE_RECHARGEMENT:
405   - Snackbar.make(findViewById(R.id.coordinator), "Client rechargé: " + output.get("soldeAncien") + "€ ->" + output.get("soldeNouveau") + "€", Snackbar.LENGTH_INDEFINITE).show();
406 404 break;
407 405 case STATE_VIDANGE:
408   - Snackbar.make(findViewById(R.id.coordinator), "Client vidé: " + output.get("soldeAncien") + "€ -> 0€", Snackbar.LENGTH_INDEFINITE).show();
409 406 break;
410 407 case STATE_RIEN:
411 408 default:
... ...