... inside the ngOnInit function checks the SwUpdate service that we injected to see if updates are enabled, and if so, it subscribes to that observable.
確定! 回上一頁