Merge pull request #1458 from dpalou/MOBILE-2520
MOBILE-2520 lang: Fix login twice for custom strings to load
This commit is contained in:
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…
x
Reference in New Issue
Block a user