Specify type explicitly

This commit is contained in:
Bartłomiej Dach 2024-10-01 10:01:31 +02:00
parent 74a9899fc0
commit 8d2f2517a3
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ protected override void LoadComplete()
private void updateState()
{
bool isOnline = apiState.Value > APIState.Offline;
var canNewCommentReason = CommentEditor.canNewCommentReason(CommentableMeta.Value);
LocalisableString? canNewCommentReason = CommentEditor.canNewCommentReason(CommentableMeta.Value);
bool commentsDisabled = canNewCommentReason != null;
bool canComment = isOnline && !commentsDisabled;