Skip to content

Commit 70b3968

Browse files
Fix CS8602: add ! after InfoDictionary (NSDictionary? in .NET 10 MAUI iOS bindings)
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/5ca0b5f1-5225-4ef7-b936-05e12334b863 Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
1 parent 9752154 commit 70b3968

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

osu.iOS/OsuGameIOS.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public partial class OsuGameIOS : OsuGame
2020
{
2121
private readonly AppDelegate appDelegate;
2222

23-
public override Version AssemblyVersion => new Version(NSBundle.MainBundle!.InfoDictionary["CFBundleVersion"]!.ToString()!);
23+
public override Version AssemblyVersion => new Version(NSBundle.MainBundle!.InfoDictionary!["CFBundleVersion"]!.ToString()!);
2424

25-
public override string Version => NSBundle.MainBundle!.InfoDictionary["OsuVersion"]!.ToString()!;
25+
public override string Version => NSBundle.MainBundle!.InfoDictionary!["OsuVersion"]!.ToString()!;
2626

2727
public override bool HideUnlicensedContent => true;
2828

0 commit comments

Comments
 (0)