diff options
author | aschaap <8865084+aschaap@users.noreply.github.com> | 2021-04-06 02:57:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 08:57:30 +0200 |
commit | 43a3d281fe562d5fe24feb53451b58630be3a288 (patch) | |
tree | 6a187e825a403a89b0f976eb20d7c19ed951041f /client/src/app/shared/shared-main | |
parent | 1bbc0270f6fa08a3f227552d0086617ae1802fd2 (diff) | |
download | PeerTube-43a3d281fe562d5fe24feb53451b58630be3a288.tar.gz PeerTube-43a3d281fe562d5fe24feb53451b58630be3a288.tar.zst PeerTube-43a3d281fe562d5fe24feb53451b58630be3a288.zip |
Minimal PeertubeModalService to open settings from "can be redefined..." (#3923)
* Minimal PeertubeModalService to open settings from "can be redefined..."
* Linter changes
* Removed unused parameter, made Subject type reflect this, and formatting
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/peertube-modal/index.ts | 1 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/peertube-modal/peertube-modal.service.ts | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/peertube-modal/index.ts b/client/src/app/shared/shared-main/peertube-modal/index.ts new file mode 100644 index 000000000..d631522e4 --- /dev/null +++ b/client/src/app/shared/shared-main/peertube-modal/index.ts | |||
@@ -0,0 +1 @@ | |||
export * from './peertube-modal.service' | |||
diff --git a/client/src/app/shared/shared-main/peertube-modal/peertube-modal.service.ts b/client/src/app/shared/shared-main/peertube-modal/peertube-modal.service.ts new file mode 100644 index 000000000..79da08a5c --- /dev/null +++ b/client/src/app/shared/shared-main/peertube-modal/peertube-modal.service.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | import { Injectable } from '@angular/core' | ||
2 | import { Subject } from 'rxjs' | ||
3 | |||
4 | @Injectable({ providedIn: 'root' }) | ||
5 | export class PeertubeModalService { | ||
6 | openQuickSettingsSubject = new Subject<void>() | ||
7 | } | ||