Skip to content

Commit

Permalink
fixed bug and added more spacing to bottom of button for mobile users (
Browse files Browse the repository at this point in the history
…#322)

Co-authored-by: Matt Vu <[email protected]>
  • Loading branch information
tmattvu and Matt Vu authored Mar 6, 2024
1 parent 5499238 commit 3e805a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export class ProfileEditorComponent implements OnInit {
disableClose: true,
autoFocus: 'dialog'
});
dialogRef.afterClosed().subscribe();
dialogRef.afterClosed().subscribe((profile) => {
this.profile.accepted_community_agreement = true;
});
}
this.profileService.put(this.profile).subscribe({
next: (user) => this.onSuccess(user),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ <h3>
color: white;
margin-left: 8px;
margin-top: 12px;
margin-bottom: 30px;
margin-bottom: 45px;
"
(click)="onButtonClick()">
{{ has_user_agreed ? 'Close' : 'Accept' }}
Expand Down

0 comments on commit 3e805a3

Please sign in to comment.