Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
orl0pl committed Nov 23, 2023
1 parent 7594321 commit 4dfeb7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/widgets/post/post.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:lemmy_api_client/v3.dart';
import 'package:nested/nested.dart';
import 'package:shared_preferences/shared_preferences.dart';

import '../../hooks/logged_in_action.dart';
import '../../liftoff_action.dart';
Expand Down Expand Up @@ -59,6 +60,8 @@ class PostTile extends StatelessWidget {
}
}



/// A post overview card
class _Post extends HookWidget {
const _Post();
Expand All @@ -83,6 +86,7 @@ class _Post extends HookWidget {
? const NSFWHider(child: sensitiveContent)
: sensitiveContent;


return GestureDetector(
onTap: isFullPost
? null
Expand Down
2 changes: 2 additions & 0 deletions lib/widgets/post/post_title.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import '../../util/extensions/api.dart';
import '../../util/observer_consumers.dart';
import 'post_store.dart';

import 'package:shared_preferences/shared_preferences.dart';

class PostTitle extends HookWidget {
const PostTitle({super.key});

Expand Down

0 comments on commit 4dfeb7e

Please sign in to comment.