diff --git a/app/src/main/java/com/github/libretube/util/LocaleHelper.kt b/app/src/main/java/com/github/libretube/util/LocaleHelper.kt index d18a1a91b..fc24e172d 100644 --- a/app/src/main/java/com/github/libretube/util/LocaleHelper.kt +++ b/app/src/main/java/com/github/libretube/util/LocaleHelper.kt @@ -40,7 +40,6 @@ object LocaleHelper { } fun getDetectedCountry(context: Context, defaultCountryIsoCode: String): String { - detectSIMCountry(context)?.let { return it } diff --git a/app/src/main/res/layout/channel_subscription_row.xml b/app/src/main/res/layout/channel_subscription_row.xml index ce414f2b9..0179bb46c 100644 --- a/app/src/main/res/layout/channel_subscription_row.xml +++ b/app/src/main/res/layout/channel_subscription_row.xml @@ -20,12 +20,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_marginLeft="10dp" + android:layout_marginStart="10dp" android:layout_toEndOf="@id/subscription_channel_image" android:ellipsize="end" android:maxLines="1" android:text="Channel Name" - android:textSize="16dp" /> + android:textSize="16sp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_channel.xml b/app/src/main/res/layout/fragment_channel.xml index f94f82000..bfb170c90 100644 --- a/app/src/main/res/layout/fragment_channel.xml +++ b/app/src/main/res/layout/fragment_channel.xml @@ -66,7 +66,7 @@ android:id="@+id/channel_subs" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="left" + android:layout_gravity="start" android:text="@string/app_name" android:textSize="12sp" /> @@ -76,11 +76,10 @@ android:id="@+id/channel_subscribe" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentEnd="true" android:layout_gravity="center_horizontal" android:backgroundTint="?attr/colorOnPrimary" - android:drawableLeft="@drawable/ic_bell_small" - android:drawableTint="?android:attr/textColorPrimary" + android:drawableStart="@drawable/ic_bell_small" + android:drawableTint="@android:color/white" android:text="@string/subscribe" android:textColor="?android:attr/textColorPrimary" android:textSize="11sp" />