|
|
@@ -12,6 +12,7 @@ import android.widget.Switch;
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
|
|
|
import com.google.android.material.textfield.TextInputEditText;
|
|
|
+import com.google.android.material.textfield.TextInputLayout;
|
|
|
import com.miekir.common.utils.ToastTool;
|
|
|
import com.miekir.common.utils.ViewTool;
|
|
|
import com.miekir.eden.R;
|
|
|
@@ -66,6 +67,7 @@ public class MineActivity extends BaseBeiActivity implements View.OnClickListene
|
|
|
ll_admin.setVisibility(View.GONE);
|
|
|
}
|
|
|
|
|
|
+ TextInputLayout til_zfb = findViewById(R.id.til_zfb);
|
|
|
et_email = findViewById(R.id.et_email);
|
|
|
et_zfb = findViewById(R.id.et_zfb);
|
|
|
switch_api = findViewById(R.id.switch_api);
|
|
|
@@ -78,6 +80,11 @@ public class MineActivity extends BaseBeiActivity implements View.OnClickListene
|
|
|
finish();
|
|
|
return;
|
|
|
}
|
|
|
+ if (TextUtils.isEmpty(mSystemBean.zfb)) {
|
|
|
+ til_zfb.setHint("还没设置收款链接");
|
|
|
+ } else {
|
|
|
+ et_zfb.setText(mSystemBean.zfb);
|
|
|
+ }
|
|
|
|
|
|
switch_api.setOnCheckedChangeListener(null);
|
|
|
switch_api.setChecked(mSystemBean.isVipLimit);
|