Fix lastN

master
Håvar Aambø Fosstveit 2020-03-19 23:27:37 +01:00
parent ac24d4fc10
commit 959289594b
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ export default class RoomClient
else else
this._maxSpotlights = mobileLastN; this._maxSpotlights = mobileLastN;
if (store.getState().settings.lastN !== this._maxSpotlights) store.dispatch(
this._maxSpotlights = store.getState().settings.lastN; settingsActions.setLastN(this._maxSpotlights));
// Manager of spotlight // Manager of spotlight
this._spotlights = null; this._spotlights = null;