mirror of
https://github.com/mue/mue.git
synced 2026-07-21 16:04:22 +02:00
feat: locally store stats so users can see them (no ui yet)
This commit is contained in:
@@ -44,14 +44,14 @@ export default class Maximise extends React.PureComponent {
|
||||
});
|
||||
|
||||
this.setAttribute(0, 100);
|
||||
window.analytics.postEvent('feature', 'Background maximise');
|
||||
window.stats.postEvent('feature', 'Background maximise');
|
||||
} else {
|
||||
this.setState({
|
||||
hidden: false
|
||||
});
|
||||
|
||||
this.setAttribute(localStorage.getItem('blur'), localStorage.getItem('brightness'), true);
|
||||
window.analytics.postEvent('feature', 'Background unmaximise');
|
||||
window.stats.postEvent('feature', 'Background unmaximise');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user