Fix "don't share" button not closing window

This commit is contained in:
David Rowe 2017-03-27 16:24:14 +13:00
parent d0fc352d3b
commit dc3095bfcd

View file

@ -74,6 +74,7 @@ function confirmShare(data) {
default:
tablet.webEventReceived.disconnect(onMessage);
HMD.closeTablet();
tablet.gotoHomeScreen();
isLoggedIn = Account.isLoggedIn();
message.action.forEach(function (submessage) {
if (submessage.share && !isLoggedIn) {