mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Make settings works with current caching structure
Will likely pull out that `RulesetConfigCache` next, but this is an "everything works" state.
This commit is contained in:
@ -140,8 +140,6 @@ namespace osu.Game
|
||||
|
||||
private FileStore fileStore;
|
||||
|
||||
private RealmSettingsStore settingsStore;
|
||||
|
||||
private RulesetConfigCache rulesetConfigCache;
|
||||
|
||||
private SpectatorClient spectatorClient;
|
||||
@ -279,8 +277,7 @@ namespace osu.Game
|
||||
|
||||
migrateDataToRealm();
|
||||
|
||||
dependencies.Cache(settingsStore = new RealmSettingsStore(realmFactory));
|
||||
dependencies.Cache(rulesetConfigCache = new RulesetConfigCache(settingsStore));
|
||||
dependencies.Cache(rulesetConfigCache = new RulesetConfigCache(realmFactory, RulesetStore));
|
||||
|
||||
var powerStatus = CreateBatteryInfo();
|
||||
if (powerStatus != null)
|
||||
|
Reference in New Issue
Block a user