Commit c064d605 by NGUYEN HOANG SON

change terms language dialog

parent d926d9a1
...@@ -149,14 +149,14 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity { ...@@ -149,14 +149,14 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
ABookAlertDialog messageDialog = AlertDialogUtil.createAlertDialog(mContext, R.string.app_name); ABookAlertDialog messageDialog = AlertDialogUtil.createAlertDialog(mContext, R.string.app_name);
messageDialog.setTitle(json.termsVersion); messageDialog.setTitle(json.termsVersion);
messageDialog.setMessage(json.agreement); messageDialog.setMessage(json.agreement);
messageDialog.setPositiveButton(R.string.confirm, new OnClickListener() { messageDialog.setPositiveButton(R.string.agree, new OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int whichButton) { public void onClick(DialogInterface dialog, int whichButton) {
agreeTerms(json, loginId); agreeTerms(json, loginId);
} }
}); });
messageDialog.setCancelable(false); messageDialog.setCancelable(false);
messageDialog.setNegativeButton(R.string.cancel, new OnClickListener() { messageDialog.setNegativeButton(R.string.disagree, new OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialogInterface, int i) { public void onClick(DialogInterface dialogInterface, int i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment