mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 20:33:21 +08:00
Specify type explicitly
This commit is contained in:
parent
74a9899fc0
commit
8d2f2517a3
@ -181,7 +181,7 @@ namespace osu.Game.Overlays.Comments
|
||||
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
Block a user