diff --git a/app/ecolyo.df10fb05eeea7c419f5a.js b/app/ecolyo.a19b27534a942600663c.js similarity index 99% rename from app/ecolyo.df10fb05eeea7c419f5a.js rename to app/ecolyo.a19b27534a942600663c.js index c9c11846343447226c61bd4b53049d9472d685c7..434efb8cce2754ddff678f586c025d228b29d343 100644 --- a/app/ecolyo.df10fb05eeea7c419f5a.js +++ b/app/ecolyo.a19b27534a942600663c.js @@ -942,12 +942,12 @@ var ActionService = /*#__PURE__*/function () { return userAction; } /** - * awaitNotificationAction + * Return userAction with updated state to UserActionState.NOTIFICATION * @returns {UserAction} updated user action */ }, { - key: "awaitNotificationAction", - value: function awaitNotificationAction(userAction) { + key: "setNotificationAction", + value: function setNotificationAction(userAction) { var updatedUserAction = _objectSpread(_objectSpread({}, userAction), {}, { state: _enums.UserActionState.NOTIFICATION }); @@ -13090,7 +13090,7 @@ var ChallengeService = /*#__PURE__*/function () { return _context13.abrupt("break", 91); case 71: _context13.next = 73; - return explorationService.awaitNotificationUserExploration(userChallenge.exploration); + return explorationService.setNotificationUserExploration(userChallenge.exploration); case 73: updatedExploration = _context13.sent; updatedUserChallenge = _objectSpread(_objectSpread({}, userChallenge), {}, { @@ -13116,7 +13116,7 @@ var ChallengeService = /*#__PURE__*/function () { }); return _context13.abrupt("break", 91); case 83: - updatedAction = actionService.awaitNotificationAction(userChallenge.action); + updatedAction = actionService.setNotificationAction(userChallenge.action); updatedUserChallenge = _objectSpread(_objectSpread({}, userChallenge), {}, { action: updatedAction }); @@ -22613,9 +22613,9 @@ var ExplorationService = /*#__PURE__*/function () { * @param {UserExploration} userExploration - userExploration to update */ }, { - key: "awaitNotificationUserExploration", + key: "setNotificationUserExploration", value: function () { - var _awaitNotificationUserExploration = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(userExploration) { + var _setNotificationUserExploration = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(userExploration) { var updatedUserExploration; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { @@ -22633,10 +22633,10 @@ var ExplorationService = /*#__PURE__*/function () { } }, _callee5); })); - function awaitNotificationUserExploration(_x3) { - return _awaitNotificationUserExploration.apply(this, arguments); + function setNotificationUserExploration(_x3) { + return _setNotificationUserExploration.apply(this, arguments); } - return awaitNotificationUserExploration; + return setNotificationUserExploration; }() /** * Return exploration with updated state to UserExplorationState.DONE diff --git a/index.html b/index.html index 7d8cd7f674ca8a55d2d43e29267500315b5f1374..919232d11345199aaec5de1ccbcce968126b8452 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.8b11da882c8a6b0fda37.js"></script><script src="app/ecolyo.df10fb05eeea7c419f5a.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.8b11da882c8a6b0fda37.js"></script><script src="app/ecolyo.a19b27534a942600663c.js"></script></div></body></html> \ No newline at end of file