mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-23 05:59:39 +00:00
Remove unused isActive field
This commit is contained in:
parent
90470c19f3
commit
efe1760614
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user