1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00

Android: Fix build

This commit is contained in:
Laurent Cozic
2020-09-11 23:57:06 +01:00
parent 524ec12d8a
commit e4e9e801a2
2 changed files with 4 additions and 7 deletions

View File

@ -44,8 +44,8 @@ const KvStore = require('lib/services/KvStore');
const MigrationService = require('lib/services/MigrationService');
const { toSystemSlashes } = require('lib/path-utils.js');
const ntpClient = require('lib/vendor/ntp-client');
ntpClient.dgram = require('dgram');
// const ntpClient = require('lib/vendor/ntp-client');
// ntpClient.dgram = require('dgram');
class BaseApplication {
constructor() {
@ -676,7 +676,7 @@ class BaseApplication {
reg.dispatch = () => {};
BaseService.logger_ = this.logger_;
require('lib/ntpDate').setLogger(reg.logger());
// require('lib/ntpDate').setLogger(reg.logger());
this.dbLogger_.addTarget('file', { path: `${profileDir}/log-database.txt` });
this.dbLogger_.setLevel(initArgs.logLevel);