Skip to content

Commit

Permalink
Fix missing microblog title, fix post images using too much space
Browse files Browse the repository at this point in the history
  • Loading branch information
jwr1 committed Mar 19, 2024
1 parent c191481 commit 85b254d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/src/screens/feed/post_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class _PostPageState extends State<PostPage> {
title: ListTile(
contentPadding: EdgeInsets.zero,
title: Text(
post.title ?? '',
post.title ?? post.body ?? '',
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
Expand Down
10 changes: 5 additions & 5 deletions lib/src/screens/settings/action_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ActionSettings extends StatelessWidget {
style: Theme.of(context).textTheme.titleMedium),
),
ListTile(
title: const Text('Default Feed Type'),
title: const Text('Feed Type'),
leading: const Icon(Icons.tab),
enabled: !isLemmy,
onTap: () async {
Expand All @@ -99,7 +99,7 @@ class ActionSettings extends StatelessWidget {
),
),
ListTile(
title: const Text('Default Threads Feed Sort'),
title: const Text('Threads Feed Sort'),
leading: const Icon(Icons.sort),
onTap: () async {
controller.updateDefaultEntriesFeedSort(
Expand All @@ -119,7 +119,7 @@ class ActionSettings extends StatelessWidget {
),
),
ListTile(
title: const Text('Default Microblog Feed Sort'),
title: const Text('Microblog Feed Sort'),
leading: const Icon(Icons.sort),
enabled: !isLemmy,
onTap: () async {
Expand All @@ -140,7 +140,7 @@ class ActionSettings extends StatelessWidget {
),
),
ListTile(
title: const Text('Default Explore Feed Sort'),
title: const Text('Explore Feed Sort'),
leading: const Icon(Icons.explore),
onTap: () async {
controller.updateDefaultExploreFeedSort(
Expand All @@ -160,7 +160,7 @@ class ActionSettings extends StatelessWidget {
),
),
ListTile(
title: const Text('Default Comment Sort'),
title: const Text('Comment Sort'),
leading: const Icon(Icons.comment),
onTap: () async {
controller.updateDefaultCommentSort(
Expand Down
1 change: 0 additions & 1 deletion lib/src/widgets/content_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ class _ContentItemState extends State<ContentItem> {
: null;

return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
if (widget.image != null || (!widget.isPreview && widget.video != null))
Wrapper(
Expand Down

0 comments on commit 85b254d

Please sign in to comment.