Skip to content

Commit

Permalink
Versione 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gocciolafr committed Jun 5, 2023
1 parent e2afa8c commit 085f4b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/jk/spotifinity/RegistratiActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public void onClick(View _view) {
fade_in.setFillAfter(true);
imageview3.startAnimation(fade_in);
info.setTitle("Info sul messaggio di benvenuto");
info.setMessage("Selezionando questa opzione accetterai di condividere il tuo username (".concat("".concat(") e di inviarlo come messaggio di benvenuto nel server Discord ufficiale Spotifinity.\nSe non accetterai questo questo username viene usato per darti il benvenuto sull'app.\nQuesto username può essere modificato nelle impostazioni.")));
info.setMessage("Selezionando questa opzione accetterai di condividere il tuo username (".concat(edittext3.getText().toString().concat(") e di inviarlo come messaggio di benvenuto nel server Discord ufficiale Spotifinity.\nSe non accetterai questo questo username viene usato per darti il benvenuto sull'app.\nQuesto username può essere modificato nelle impostazioni.")));
info.setIcon(R.drawable.ic_help_white);
info.setPositiveButton("OK", new DialogInterface.OnClickListener() {
@Override
Expand Down Expand Up @@ -510,15 +510,15 @@ public void onComplete(Task<AuthResult> _param1) {
headers = new HashMap<>();
body = new HashMap<>();
headers.put("url", "https://discord.com/api/webhooks/1104802074476150914/IijGyOgRg8hoMKDhHuXvQn_u0vh-vjkvVIhdS7LOtqeJ6z7D4AAPo7YhVmMIL9vSs9II");
body.put("content", "**".concat("").concat("** si e registrato su Spotifinity!"));
body.put("content", "**".concat(edittext3.getText().toString()).concat("** si e registrato su Spotifinity!"));
notifica.setHeaders(headers);
notifica.setParams(body, RequestNetworkController.REQUEST_BODY);
notifica.startRequestNetwork(RequestNetworkController.POST, "https://discord.com/api/webhooks/1104802074476150914/IijGyOgRg8hoMKDhHuXvQn_u0vh-vjkvVIhdS7LOtqeJ6z7D4AAPo7YhVmMIL9vSs9II", "", _notifica_request_listener);
}
headers = new HashMap<>();
body = new HashMap<>();
headers.put("url", "https://discord.com/api/webhooks/1108070617103728660/G9EoT--Dz_mo1DDRDqqk7Lk6ULp9gC8cEAQBQ5eRnorBFeC_X4ZXZbKY1dGjN_bXJGZx");
body.put("content", edittext3.getText().toString().concat("si e registrato su Spotifinity. La sua mail è ".concat(FirebaseAuth.getInstance().getCurrentUser().getEmail()).concat(" e il suo UID è ".concat(FirebaseAuth.getInstance().getCurrentUser().getUid().concat(".\n----------")))));
body.put("content", edittext3.getText().toString().concat(" si e registrato su Spotifinity. La sua mail è ".concat(FirebaseAuth.getInstance().getCurrentUser().getEmail()).concat(" e il suo UID è ".concat(FirebaseAuth.getInstance().getCurrentUser().getUid().concat(".\n----------")))));
notifica.setHeaders(headers);
notifica.setParams(body, RequestNetworkController.REQUEST_BODY);
notifica.startRequestNetwork(RequestNetworkController.POST, "https://discord.com/api/webhooks/1108070617103728660/G9EoT--Dz_mo1DDRDqqk7Lk6ULp9gC8cEAQBQ5eRnorBFeC_X4ZXZbKY1dGjN_bXJGZx", "", _notifica_request_listener);
Expand Down

0 comments on commit 085f4b4

Please sign in to comment.