For #26450: Remove the star icon from Pocket sponsored stories

This commit is contained in:
Mugurell 2022-08-12 14:42:04 +03:00 committed by mergify[bot]
parent cedb777655
commit de7cf91d8a
2 changed files with 7 additions and 32 deletions

View File

@ -176,23 +176,13 @@ fun PocketSponsoredStory(
Spacer(Modifier.height(9.dp))
Row(verticalAlignment = Alignment.CenterVertically) {
Icon(
painter = painterResource(id = R.drawable.pocket_star_stroke),
contentDescription = null,
tint = FirefoxTheme.colors.iconSecondary,
)
Spacer(Modifier.width(8.dp))
Text(
text = stringResource(R.string.pocket_stories_sponsor_indication),
color = FirefoxTheme.colors.textSecondary,
fontSize = 12.sp,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
)
}
Text(
text = stringResource(R.string.pocket_stories_sponsor_indication),
color = FirefoxTheme.colors.textSecondary,
fontSize = 12.sp,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
)
Spacer(Modifier.height(7.dp))

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="12dp"
android:height="12dp"
android:viewportWidth="12"
android:viewportHeight="12">
<path
android:pathData="M6,0C6.335,0 6.634,0.208 6.75,0.522L8.027,3.973L11.478,5.25C11.792,5.366 12,5.665 12,6C12,6.335 11.792,6.634 11.478,6.75L8.027,8.027L6.75,11.478C6.634,11.792 6.335,12 6,12C5.665,12 5.366,11.792 5.25,11.478L3.973,8.027L0.522,6.75C0.208,6.634 0,6.335 0,6C0,5.665 0.208,5.366 0.522,5.25L3.973,3.973L5.25,0.522C5.366,0.208 5.665,0 6,0ZM6,3.105L5.346,4.873C5.265,5.092 5.092,5.265 4.873,5.346L3.105,6L4.873,6.654C5.092,6.735 5.265,6.908 5.346,7.127L6,8.895L6.654,7.127C6.735,6.908 6.908,6.735 7.127,6.654L8.895,6L7.127,5.346C6.908,5.265 6.735,5.092 6.654,4.873L6,3.105Z"
android:fillColor="#666666"
android:fillType="evenOdd"/>
</vector>