Remove (0/0) import, captcha delete update buttons

This commit is contained in:
Kelvin 2023-12-07 22:04:24 +01:00
parent 73918a8d76
commit efa1361fbe
2 changed files with 3 additions and 1 deletions

View file

@ -280,6 +280,8 @@ class SourceDetailFragment : MainFragment() {
if(clientIfExists?.captchaEncrypted != null)
BigButton(c, context.getString(R.string.delete_captcha), context.getString(R.string.deletes_stored_captcha_answer_for_this_plugin), R.drawable.ic_block) {
clientIfExists.updateCaptcha(null);
updateButtons();
UIDialogs.toast(context, "Captcha data deleted");
}.apply {
this.layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT).apply {
setMargins(0, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 5f, resources.displayMetrics).toInt(), 0, 0);

View file

@ -45,7 +45,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/inter_light"
android:textSize="15dp"
android:text="(0/0)"
android:text=""
android:textColor="#58595B" />
<!--