From 32f69cd0ba58e9433214862751e830d33e70e748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Sch=C3=BCrz?= Date: Wed, 4 Oct 2023 00:20:07 +0200 Subject: [PATCH] Make `UserAvatarNotification.user` readonly --- osu.Game/Overlays/Notifications/UserAvatarNotification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Overlays/Notifications/UserAvatarNotification.cs b/osu.Game/Overlays/Notifications/UserAvatarNotification.cs index 191d63a76f..8f32c9d395 100644 --- a/osu.Game/Overlays/Notifications/UserAvatarNotification.cs +++ b/osu.Game/Overlays/Notifications/UserAvatarNotification.cs @@ -32,7 +32,7 @@ public override LocalisableString Text private TextFlowContainer? textDrawable; - private APIUser user; + private readonly APIUser user; public UserAvatarNotification(APIUser user, LocalisableString text) {