Skip to content

Commit a7ee6a1

Browse files
committed
Rename online store class to better explain what it's doing
1 parent 597eec9 commit a7ee6a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

osu.Game/Audio/PreviewTrackManager.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public PreviewTrackManager(IAdjustableAudioComponent mainTrackAdjustments)
3030
[BackgroundDependencyLoader]
3131
private void load(AudioManager audioManager)
3232
{
33-
trackStore = audioManager.GetTrackStore(new OsuOnlineStore());
33+
trackStore = audioManager.GetTrackStore(new TrustedDomainOnlineStore());
3434
}
3535

3636
/// <summary>

osu.Game/Online/OsuOnlineStore.cs osu.Game/Online/TrustedDomainOnlineStore.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace osu.Game.Online
99
{
10-
public class OsuOnlineStore : OnlineStore
10+
public sealed class TrustedDomainOnlineStore : OnlineStore
1111
{
1212
protected override string GetLookupUrl(string url)
1313
{

osu.Game/OsuGameBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public partial class OsuGameBase : Framework.Game, ICanAcceptFiles, IBeatSyncPro
108108
public virtual EndpointConfiguration CreateEndpoints() =>
109109
UseDevelopmentServer ? new DevelopmentEndpointConfiguration() : new ProductionEndpointConfiguration();
110110

111-
protected override OnlineStore CreateOnlineStore() => new OsuOnlineStore();
111+
protected override OnlineStore CreateOnlineStore() => new TrustedDomainOnlineStore();
112112

113113
public virtual Version AssemblyVersion => Assembly.GetEntryAssembly()?.GetName().Version ?? new Version();
114114

0 commit comments

Comments
 (0)