MOBILE-2520 lang: Fix login twice for custom strings to load
parent
e6c5607463
commit
9b9dbe30aa
|
@ -136,8 +136,8 @@ export class MoodleMobileApp implements OnInit {
|
||||||
loadCustomStrings();
|
loadCustomStrings();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.eventsProvider.on(CoreEventsProvider.SITE_UPDATED, (siteId) => {
|
this.eventsProvider.on(CoreEventsProvider.SITE_UPDATED, (data) => {
|
||||||
if (siteId == this.sitesProvider.getCurrentSiteId()) {
|
if (data.siteId == this.sitesProvider.getCurrentSiteId()) {
|
||||||
loadCustomStrings();
|
loadCustomStrings();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue