Always load translations after singleton initialization to ensure that data is loaded
This commit is contained in:
parent
f3795eacee
commit
5e922512fb
@ -40,6 +40,8 @@ public class DataStore {
|
|||||||
private DataStore(@NotNull Project project) {
|
private DataStore(@NotNull Project project) {
|
||||||
this.project = project;
|
this.project = project;
|
||||||
this.synchronizer = new ArrayList<>();
|
this.synchronizer = new ArrayList<>();
|
||||||
|
|
||||||
|
reloadFromDisk();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -160,7 +162,7 @@ public class DataStore {
|
|||||||
/**
|
/**
|
||||||
* @return Current translation state
|
* @return Current translation state
|
||||||
*/
|
*/
|
||||||
public Translations getTranslations() {
|
public @NotNull Translations getTranslations() {
|
||||||
return translations;
|
return translations;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user