mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Remove (0/0) import, captcha delete update buttons
This commit is contained in:
parent
73918a8d76
commit
efa1361fbe
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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" />
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Add table
Reference in a new issue