зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1110461 - Disable estimated reading time in reading list. r=mcomella
--HG-- extra : rebase_source : 1585925328a6636e160333dc27722dd6d289fd3a
This commit is contained in:
Родитель
d81249fa81
Коммит
968c3084d0
|
@ -61,6 +61,7 @@ public class ReadingListRow extends LinearLayout {
|
|||
final int excerptIndex = cursor.getColumnIndexOrThrow(ReadingListItems.EXCERPT);
|
||||
excerpt.setText(cursor.getString(excerptIndex));
|
||||
|
||||
/* Disabled until UX issues are fixed (see bug 1110461).
|
||||
final int lengthIndex = cursor.getColumnIndexOrThrow(ReadingListItems.LENGTH);
|
||||
final int minutes = getEstimatedReadTime(cursor.getInt(lengthIndex));
|
||||
if (minutes <= 60) {
|
||||
|
@ -68,6 +69,7 @@ public class ReadingListRow extends LinearLayout {
|
|||
} else {
|
||||
readTime.setText(resources.getString(R.string.reading_list_time_over_an_hour));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
android:layout_width="64dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
style="@style/Widget.ReadingListRow.ReadTime" />
|
||||
|
||||
</merge>
|
||||
|
|
Загрузка…
Ссылка в новой задаче