diff --git a/lib/pages/community.dart b/lib/pages/community.dart index 9092306..e284f98 100644 --- a/lib/pages/community.dart +++ b/lib/pages/community.dart @@ -36,12 +36,12 @@ class CommunityPage extends HookWidget { const CommunityPage.fromName({ required String this.communityName, required this.instanceHost, - }) : communityId = null, + }) : communityId = null, _community = null; const CommunityPage.fromId({ required int this.communityId, required this.instanceHost, - }) : communityName = null, + }) : communityName = null, _community = null; CommunityPage.fromCommunityView(CommunityView this._community) : instanceHost = _community.instanceHost, diff --git a/lib/pages/modlog_page.dart b/lib/pages/modlog_page.dart index 1fad9d7..11f2cc9 100644 --- a/lib/pages/modlog_page.dart +++ b/lib/pages/modlog_page.dart @@ -16,7 +16,7 @@ class ModlogPage extends HookWidget { const ModlogPage.forInstance({ required this.instanceHost, - }) : communityId = null, + }) : communityId = null, name = instanceHost; const ModlogPage.forCommunity({ diff --git a/lib/pages/search_results.dart b/lib/pages/search_results.dart index 2e871b9..a048a68 100644 --- a/lib/pages/search_results.dart +++ b/lib/pages/search_results.dart @@ -17,7 +17,7 @@ class SearchResultsPage extends HookWidget { SearchResultsPage({ required this.instanceHost, required this.query, - }) : assert(instanceHost.isNotEmpty), + }) : assert(instanceHost.isNotEmpty), assert(query.isNotEmpty); @override diff --git a/lib/pages/write_message.dart b/lib/pages/write_message.dart index 1170782..641c9ce 100644 --- a/lib/pages/write_message.dart +++ b/lib/pages/write_message.dart @@ -21,7 +21,7 @@ class WriteMessagePage extends HookWidget { const WriteMessagePage.send({ required this.recipient, required this.instanceHost, - }) : privateMessage = null, + }) : privateMessage = null, _isEdit = false; WriteMessagePage.edit(PrivateMessageView pmv)