mirror of https://github.com/ppy/osu
Specify type explicitly
This commit is contained in:
parent
74a9899fc0
commit
8d2f2517a3
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue