Added basic user profile component

This commit is contained in:
Isaac Grynsztein
2020-04-26 17:33:29 -04:00
parent e6ea2238f8
commit a7c810136b
7 changed files with 90 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ import { THEMES_CONFIG } from '../themes';
import { SettingsComponent } from './settings/settings.component';
import { CheckOrSetPinDialogComponent } from './dialogs/check-or-set-pin-dialog/check-or-set-pin-dialog.component';
import { AboutDialogComponent } from './dialogs/about-dialog/about-dialog.component';
import { UserProfileDialogComponent } from './dialogs/user-profile-dialog/user-profile-dialog.component';
@Component({
selector: 'app-root',
@@ -196,5 +197,11 @@ onSetTheme(theme, old_theme) {
});
}
openProfileDialog() {
const dialogRef = this.dialog.open(UserProfileDialogComponent, {
width: '60vw'
});
}
}