From 49b12ea4f804af9fae5a797e75a63b7e3c77707d Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 6 Jun 2021 11:56:15 +0200 Subject: [PATCH 1/2] Increase space for metadata typeview Some translations come with longer words causing them to wrap at strange positions --- app/src/main/res/layout/item_metadata.xml | 2 +- app/src/main/res/layout/item_metadata_tags.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/item_metadata.xml b/app/src/main/res/layout/item_metadata.xml index b9015e603..43dce5cfb 100644 --- a/app/src/main/res/layout/item_metadata.xml +++ b/app/src/main/res/layout/item_metadata.xml @@ -12,7 +12,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:orientation="vertical" - app:layout_constraintGuide_percent="0.23" /> + app:layout_constraintGuide_percent="0.30" /> + app:layout_constraintGuide_percent="0.30" /> Date: Sun, 6 Jun 2021 11:56:38 +0200 Subject: [PATCH 2/2] Kotlin auto formatting --- .../newpipe/local/subscription/SubscriptionFragment.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt b/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt index 13643af15..8a235fa8a 100644 --- a/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt +++ b/app/src/main/java/org/schabi/newpipe/local/subscription/SubscriptionFragment.kt @@ -294,8 +294,10 @@ class SubscriptionFragment : BaseStateFragment() { } private fun showLongTapDialog(selectedItem: ChannelInfoItem) { - val commands = arrayOf(getString(R.string.share), getString(R.string.open_in_browser), - getString(R.string.unsubscribe)) + val commands = arrayOf( + getString(R.string.share), getString(R.string.open_in_browser), + getString(R.string.unsubscribe) + ) val actions = DialogInterface.OnClickListener { _, i -> when (i) {