some changes added

This commit is contained in:
Stsiapan_Tsybulski committed 2016-08-24 13:03:10 +03:00
1 parent 03bb4eb6de
commit bacb194b8b
1 file changed
+1 -3
@@ -26,10 +26,8 @@ public class AutoPlayEntryPoint extends AbstractMvpEntryPoint<StringMessages, Au
initMvp(clientFactory, applicationHistoryMapper, new AutoPlayAppActivityMapper(clientFactory));
SAPHeaderWithAuthentication header = initHeader();
GenericAuthentication genericSailingAuthentication = new FixedSailingAuthentication(clientFactory.getUserService(), header.getAuthenticationMenuView());
AuthorizedContentDecorator authorizedContentDecorator = new GenericAuthorizedContentDecorator(genericSailingAuthentication);
new FixedSailingAuthentication(clientFactory.getUserService(), header.getAuthenticationMenuView());
RootPanel.get().add(authorizedContentDecorator);
RootPanel.get().add(header);
SharedResources.INSTANCE.mediaCss().ensureInjected();