Skip to content

Commit

Permalink
changes related to emailService
Browse files Browse the repository at this point in the history
  • Loading branch information
niccolopaganini committed Nov 7, 2023
1 parent b9f1483 commit f297691
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 118 deletions.
2 changes: 1 addition & 1 deletion www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import './js/diary/services.js';
import './js/survey/enketo/answer.js';
import './js/survey/enketo/enketo-trip-button.js';
import './js/survey/enketo/enketo-add-note-button.js';
import './js/control/emailService.js';
// import './js/control/emailService.js';
import './js/metrics-factory.js';
import './js/metrics-mappings.js';
import './js/plugin/logger.ts';
2 changes: 1 addition & 1 deletion www/js/control/LogPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type loadStats = { currentStart: number; gotMaxIndex: boolean; reachedEnd: boole
const LogPage = ({ pageVis, setPageVis }) => {
const { t } = useTranslation();
const { colors } = useTheme();
const EmailHelper = getAngularService('EmailHelper');
//const EmailHelper = getAngularService('EmailHelper');

const [loadStats, setLoadStats] = useState<loadStats>();
const [entries, setEntries] = useState([]);
Expand Down
3 changes: 2 additions & 1 deletion www/js/control/SensedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import { getAngularService } from '../angular-react-helper';
import { useTranslation } from 'react-i18next';
import { FlashList } from '@shopify/flash-list';
import moment from 'moment';
import EmailHelper from './emailService';

const SensedPage = ({ pageVis, setPageVis }) => {
const { t } = useTranslation();
const { colors } = useTheme();
const EmailHelper = getAngularService('EmailHelper');
//const EmailHelper = getAngularService('EmailHelper');

/* Let's keep a reference to the database for convenience */
const [DB, setDB] = useState();
Expand Down
114 changes: 0 additions & 114 deletions www/js/control/emailService.js

This file was deleted.

1 change: 0 additions & 1 deletion www/js/ngApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ angular
'emission.services',
'emission.plugin.logger',
'emission.splash.referral',
'emission.services.email',
'emission.main',
'pascalprecht.translate',
'LocalStorageModule',
Expand Down

0 comments on commit f297691

Please sign in to comment.