mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Remove userdialog playtime & fix screenshot search worldName
This commit is contained in:
@@ -101,7 +101,10 @@ namespace VRCX
|
||||
|
||||
break;
|
||||
case ScreenshotSearchType.WorldName:
|
||||
if (metadata.World.Name.IndexOf(query, StringComparison.OrdinalIgnoreCase) != -1)
|
||||
if (metadata.World.Name == null)
|
||||
continue;
|
||||
|
||||
if (metadata.World.Name.Contains(query, StringComparison.OrdinalIgnoreCase))
|
||||
result.Add(metadata);
|
||||
|
||||
break;
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace VRCX
|
||||
/// <summary>
|
||||
/// The display name of the user.
|
||||
/// </summary>
|
||||
public string DisplayName { get; set; }
|
||||
public string? DisplayName { get; set; }
|
||||
}
|
||||
|
||||
public class WorldDetail
|
||||
@@ -120,7 +120,7 @@ namespace VRCX
|
||||
/// <summary>
|
||||
/// The name of the world.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The full ID of the game instance.
|
||||
|
||||
Reference in New Issue
Block a user