Use roles to sync Libraries and Age Rating for simplicty

This commit is contained in:
Amelia 2025-06-30 19:08:49 +02:00
parent 9f94abe1be
commit 54fb4c7a8a
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA
3 changed files with 11 additions and 9 deletions

View file

@ -53,9 +53,9 @@ public static class StringExtensions
return string.IsNullOrEmpty(value) ? defaultValue : double.Parse(value, CultureInfo.InvariantCulture);
}
public static string? TrimPrefix(this string? value, string prefix)
public static string TrimPrefix(this string? value, string prefix)
{
if (string.IsNullOrEmpty(value)) return value;
if (string.IsNullOrEmpty(value)) return string.Empty;
if (!value.StartsWith(prefix)) return value;