From 96c067a6c473742881227971cb8f581b747086f2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 13 Apr 2020 14:30:52 +0100 Subject: [PATCH] prefer protected over private so that the class can be extended Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/LoggedInView.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index e09a5c9ac6..8497b9bc80 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -126,12 +126,12 @@ class LoggedInView extends React.PureComponent { // and lots and lots of other stuff. }; - private readonly _matrixClient: MatrixClient; - private readonly _roomView: React.RefObject; - private readonly _resizeContainer: React.RefObject; - private readonly _sessionStore: sessionStore; - private readonly _sessionStoreToken: { remove: () => void }; - private resizer: Resizer; + protected readonly _matrixClient: MatrixClient; + protected readonly _roomView: React.RefObject; + protected readonly _resizeContainer: React.RefObject; + protected readonly _sessionStore: sessionStore; + protected readonly _sessionStoreToken: { remove: () => void }; + protected resizer: Resizer; constructor(props, context) { super(props, context);