Merge pull request #1458 from dpalou/MOBILE-2520
MOBILE-2520 lang: Fix login twice for custom strings to loadmain
commit
bfcbbbd965
|
@ -139,8 +139,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…
Reference in New Issue