Skip to content
Permalink
Browse files

프로필 설정 스킨에서 desktop/mobile 구분이 안되는 문제 수정

  • Loading branch information...
woongbin committed Jul 24, 2019
1 parent 9734915 commit 400652c9c580a01a9ecd73ef65764820ad3535d3
Showing with 4 additions and 0 deletions.
  1. +4 −0 app/Providers/UserServiceProvider.php
@@ -619,6 +619,10 @@ protected function addUserSettingSection()
['assets/core/xe-ui-component/js/xe-form.js', 'assets/core/xe-ui-component/js/xe-page.js']
)->load();
$this->app['xe.skin']->setMobileResolver(function () {
return app('request')->isMobile();
});
$skin = $this->app['xe.skin']->getAssigned('user/settings');
return $skin->setView('edit')->setData(compact('user', 'fieldTypes'));

0 comments on commit 400652c

Please sign in to comment.
You can’t perform that action at this time.