test
This commit is contained in:
parent
e0e69a0382
commit
a500d90df5
1 changed files with 1 additions and 0 deletions
|
@ -451,6 +451,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
|||
String currentLanguage = Locale.getDefault().getLanguage();
|
||||
if(!result.getJSONObject("data").has(currentLanguage))
|
||||
currentLanguage = "en";
|
||||
|
||||
language = result.getJSONObject(
|
||||
"data" // STATIC
|
||||
).getJSONObject(currentLanguage);
|
||||
|
|
Loading…
Add table
Reference in a new issue