Remove unused isActive field

This commit is contained in:
Bill Thornton 2021-02-03 22:57:11 -05:00
parent 90470c19f3
commit efe1760614
2 changed files with 0 additions and 4 deletions

View File

@ -94,7 +94,6 @@ true;
rootStore.mediaStore.type = 'Video';
rootStore.mediaStore.uri = data.url;
rootStore.mediaStore.posterUri = data.backdropUrl;
rootStore.mediaStore.isActive = true;
rootStore.mediaStore.positionTicks = data.playerStartPositionTicks;
console.debug('PLAY VIDEO =>', Object.keys(data), data.title, data.playerStartPositionTicks);
break;

View File

@ -10,7 +10,6 @@ const TICKS_PER_MS = 10000;
export default class MediaStore {
type
isActive = false
uri
positionTicks = 0
posterUri
@ -21,7 +20,6 @@ export default class MediaStore {
reset() {
this.type = null;
this.isActive = false;
this.uri = null;
this.positionTicks = 0;
this.posterUri = null;
@ -30,7 +28,6 @@ export default class MediaStore {
decorate(MediaStore, {
type: [ ignore, observable ],
isActive: [ ignore, observable ],
uri: [ ignore, observable ],
positionTicks: [ ignore, observable ],
positionMillis: computed,