Remove unused device setting

This commit is contained in:
Bill Thornton 2021-09-01 12:23:27 -04:00
parent 6172c00c3c
commit 99a3ca1cbd
4 changed files with 0 additions and 64 deletions

View file

@ -58,32 +58,6 @@ class TimeSyncCore {
this.timeSyncServer.forceUpdate();
}
/**
* Gets the list of available devices for time sync.
* @returns {Array} The list of devices.
*/
getDevices() {
const devices = [{
type: 'server',
id: 'server',
name: 'Server',
timeOffset: this.timeSyncServer.getTimeOffset(),
ping: this.timeSyncServer.getPing(),
peerTimeOffset: 0,
peerPing: 0
}];
return devices;
}
/**
* Gets the identifier of the selected device for time sync. Default value is 'server'.
* @returns {string} The identifier.
*/
getActiveDevice() {
return this.timeSyncDeviceId;
}
/**
* Gets the display name of the selected device for time sync.
* @returns {string} The display name.