Skip to content

Commit 80fc583

Browse files
committed
fix one auth privacy display issue
1 parent c269ca6 commit 80fc583

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/src/main/java/cn/authing/SampleListActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected void onCreate(Bundle savedInstanceState) {
9191
Intent intent = new Intent(SampleListActivity.this, AuthingWebViewActivity.class);
9292
startActivity(intent);
9393
} else if (pos == 9) {
94-
Authing.init(SampleListActivity.this, "610932784e4bb719b5787ad7");
94+
Authing.init(SampleListActivity.this, "61c173ada0e3aec651b1a1d1");
9595
AuthFlow.start(this);
9696
} else if (pos == 10) {
9797
Authing.init(SampleListActivity.this, "61ae0c9807451d6f30226bd4");

guard/src/main/java/cn/authing/guard/oneclick/OneClick.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ private void getAndroidScreenProperty() {
180180
private void config(Drawable logo) {
181181
Drawable mainColorDrawable = new ColorDrawable(Util.getThemeAccentColor(context));
182182

183-
int bottomMargin = 300;
184183
int topMargin = (int)Util.dp2px(context, 16);
185184
RelativeLayout otherLoginRel = new RelativeLayout(context);
186185
RelativeLayout.LayoutParams layoutParamsOther = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
@@ -232,8 +231,8 @@ private void config(Drawable logo) {
232231
.setLoginBtnHeight(48)
233232
.setLoginBtnBackgroundDrawable(mainColorDrawable)
234233
.addCustomView(otherLoginRel, "otherBtn", UnifyUiConfig.POSITION_IN_BODY, null)
235-
.addCustomView(socialRel, "socialList", UnifyUiConfig.POSITION_IN_BODY, null)
236-
.setPrivacyBottomYOffset(bottomMargin - 28 - 8)
234+
// .addCustomView(socialRel, "socialList", UnifyUiConfig.POSITION_IN_BODY, null)
235+
.setPrivacyBottomYOffset(40)
237236
.build(context);
238237
quickLogin.setUnifyUiConfig(c);
239238
}

0 commit comments

Comments
 (0)