mirror of https://github.com/readrops/Readrops.git
Be less strict with feed and folder names (#206)
This commit is contained in:
parent
bf3c654a25
commit
81dc80d19a
|
@ -64,14 +64,14 @@ fun FeedItem(
|
|||
|
||||
FeedIcon(
|
||||
iconUrl = feed.iconUrl,
|
||||
name = feed.name!!,
|
||||
name = feed.name.orEmpty(),
|
||||
size = 16.dp
|
||||
)
|
||||
|
||||
ShortSpacer()
|
||||
|
||||
Text(
|
||||
text = feed.name!!,
|
||||
text = feed.name.orEmpty(),
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
|
|
|
@ -84,7 +84,7 @@ fun FolderExpandableItem(
|
|||
MediumSpacer()
|
||||
|
||||
Text(
|
||||
text = folder.name!!,
|
||||
text = folder.name.orEmpty(),
|
||||
style = MaterialTheme.typography.bodyLarge,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
|
|
|
@ -113,7 +113,7 @@ fun DrawerFolderItem(
|
|||
DrawerFeedItem(
|
||||
label = {
|
||||
Text(
|
||||
text = feed.name!!,
|
||||
text = feed.name.orEmpty(),
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
|
@ -121,7 +121,7 @@ fun DrawerFolderItem(
|
|||
icon = {
|
||||
FeedIcon(
|
||||
iconUrl = feed.iconUrl,
|
||||
name = feed.name!!
|
||||
name = feed.name.orEmpty()
|
||||
)
|
||||
},
|
||||
badge = { Text(feed.unreadCount.toString()) },
|
||||
|
|
|
@ -63,7 +63,7 @@ fun TimelineDrawer(
|
|||
DrawerFolderItem(
|
||||
label = {
|
||||
Text(
|
||||
text = folder.name!!,
|
||||
text = folder.name.orEmpty(),
|
||||
fontWeight = FontWeight.Medium,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
|
@ -92,7 +92,7 @@ fun TimelineDrawer(
|
|||
DrawerFeedItem(
|
||||
label = {
|
||||
Text(
|
||||
text = feed.name!!,
|
||||
text = feed.name.orEmpty(),
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
|
@ -100,7 +100,7 @@ fun TimelineDrawer(
|
|||
icon = {
|
||||
FeedIcon(
|
||||
iconUrl = feed.iconUrl,
|
||||
name = feed.name!!
|
||||
name = feed.name.orEmpty()
|
||||
)
|
||||
},
|
||||
badge = { Text(feed.unreadCount.toString()) },
|
||||
|
|
Loading…
Reference in New Issue