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) {
Log.i("a", "23"); // STATIC
try {
Log.i("result", result.toString()); // STATIC
if(result.has("hash")) { // STATIC
currentHash = result.getString("hash"); // STATIC
Log.i("result", result.toString());
Log.i("currenthash", currentHash);
Log.i("currenthash", currentHash); // STATIC
}
if(result.has("key")) // STATIC
setKey(getBaseContext(), result.getString("key")); // STATIC