Skip to content

Commit

Permalink
Remove useless toggle for grief report photos
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Oct 16, 2024
1 parent 75ffcfe commit 11e41b7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/app/api/types/extended-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export interface ExtendedUser extends User {
rpcnAuthenticationAllowed: boolean;
psnAuthenticationAllowed: boolean;

redirectGriefReportsToPhotos: boolean;

emailAddress: string | undefined;
emailAddressVerified: boolean;
}
2 changes: 0 additions & 2 deletions src/app/api/types/user-update-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ export interface UserUpdateRequest {
psnAuthenticationAllowed: boolean | undefined;
rpcnAuthenticationAllowed: boolean | undefined;

redirectGriefReportsToPhotos: boolean | undefined;

emailAddress: string | undefined;
}
2 changes: 0 additions & 2 deletions src/app/pages/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
[(value)]="allowPsnAuth"></form-checkbox>
<form-checkbox [icon]="faDesktop" name="Allow RPCS3 Authentication"
[(value)]="allowRpcnAuth"></form-checkbox>
<form-checkbox [icon]="faCamera" name="Redirect Grief Reports to Photos"
[(value)]="redirectGriefReportsToPhotos"></form-checkbox>
</ng-container>
</div>

Expand Down
4 changes: 0 additions & 4 deletions src/app/pages/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export class SettingsComponent implements OnInit {
allowIpAuth: boolean = false;
allowPsnAuth: boolean = false;
allowRpcnAuth: boolean = false;
redirectGriefReportsToPhotos: boolean = false;

themingSupported: boolean;

Expand Down Expand Up @@ -96,7 +95,6 @@ export class SettingsComponent implements OnInit {
this.allowIpAuth = data?.allowIpAuthentication ?? false;
this.allowPsnAuth = data?.psnAuthenticationAllowed ?? false;
this.allowRpcnAuth = data?.rpcnAuthenticationAllowed ?? false;
this.redirectGriefReportsToPhotos = data?.redirectGriefReportsToPhotos ?? false;
}

saveChanges() {
Expand All @@ -107,7 +105,6 @@ export class SettingsComponent implements OnInit {
allowIpAuthentication: this.allowIpAuth,
psnAuthenticationAllowed: this.allowPsnAuth,
rpcnAuthenticationAllowed: this.allowRpcnAuth,
redirectGriefReportsToPhotos: this.redirectGriefReportsToPhotos,
};

this.authService.UpdateUser(request);
Expand Down Expand Up @@ -136,7 +133,6 @@ export class SettingsComponent implements OnInit {
protected readonly faGamepad = faGamepad;
protected readonly faEnvelope = faEnvelope;
protected readonly faTrash = faTrash;
protected readonly faCamera = faCamera;
protected readonly faFloppyDisk = faFloppyDisk;
protected readonly faCancel = faCancel;
protected readonly faLeftRight = faLeftRight;
Expand Down

0 comments on commit 11e41b7

Please sign in to comment.