This commit is contained in:
Your Name 2025-04-09 16:49:58 +03:00
parent eddd40e845
commit f98c1abc65

View file

@ -386,10 +386,10 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
public void onPostResponse(JSONObject result) { public void onPostResponse(JSONObject result) {
Log.i("a", "23"); // STATIC Log.i("a", "23"); // STATIC
try { try {
Log.i("result", result.toString()); // STATIC
if(result.has("hash")) { // STATIC if(result.has("hash")) { // STATIC
currentHash = result.getString("hash"); // STATIC currentHash = result.getString("hash"); // STATIC
Log.i("result", result.toString()); Log.i("currenthash", currentHash); // STATIC
Log.i("currenthash", currentHash);
} }
if(result.has("key")) // STATIC if(result.has("key")) // STATIC
setKey(getBaseContext(), result.getString("key")); // STATIC setKey(getBaseContext(), result.getString("key")); // STATIC