1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

dark theme tweaks

This commit is contained in:
Kyle Spearrin
2018-05-30 22:28:04 -04:00
parent b89a620f9b
commit 92809488a5
16 changed files with 23 additions and 10 deletions

View File

@@ -121,6 +121,7 @@ export class SettingsComponent implements OnInit {
async saveTheme() {
await this.storageService.save(ConstantsService.themeKey, this.theme);
this.analytics.eventTrack.next({ action: 'Set Theme ' + this.theme });
window.setTimeout(() => window.location.reload(), 200);
}
private callAnalytics(name: string, enabled: boolean) {