Skip to content

Commit

Permalink
fix(post): Fix permission not initialized from content
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Sep 12, 2024
1 parent e938faa commit e2ff00a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/features/post/view/post_edit_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ class _PostEditPageState extends State<PostEditPage> with LoggerMixin {
// value.
threadType ??= state.content?.threadTypeList?.firstOrNull;
threadTypeController.text = threadType?.name ?? '';
perm =
state.content?.permList?.where((e) => e.selected).lastOrNull?.perm;
});

init = true;
Expand Down

0 comments on commit e2ff00a

Please sign in to comment.