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