diff --git a/OsmAnd-telegram/res/layout/bottom_sheet_logout.xml b/OsmAnd-telegram/res/layout/bottom_sheet_logout.xml index a8ede12784..52672d4a85 100644 --- a/OsmAnd-telegram/res/layout/bottom_sheet_logout.xml +++ b/OsmAnd-telegram/res/layout/bottom_sheet_logout.xml @@ -44,12 +44,12 @@ android:layout_height="wrap_content" android:paddingLeft="@dimen/content_padding_standard" android:paddingRight="@dimen/content_padding_standard" + android:text="@string/logout_from_osmand_telegram_descr" android:textColor="?android:attr/textColorSecondary" android:textSize="@dimen/list_item_description_text_size" app:firstBaselineToTopHeight="28sp" app:lastBaselineToBottomHeight="16sp" - app:typeface="@string/font_roboto_regular" - tools:text="@string/logout_from_osmand_telegram_descr" /> + app:typeface="@string/font_roboto_regular" /> diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/LogoutBottomSheet.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/LogoutBottomSheet.kt index 8e6acf2a4e..0f6c2b7864 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/LogoutBottomSheet.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/LogoutBottomSheet.kt @@ -37,9 +37,6 @@ class LogoutBottomSheet : DialogFragment() { override fun onSlide(bottomSheet: View, slideOffset: Float) {} }) - mainView.findViewById(R.id.description).text = - getString(R.string.logout_from_osmand_telegram_descr) - mainView.findViewById(R.id.secondary_btn).apply { setText(R.string.shared_string_cancel) setOnClickListener { dismiss() }