mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
Eliminate noOutline constant
This commit is contained in:
@@ -95,7 +95,6 @@ declare module "react" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const logger = rootLogger.getChild("[InCallView]");
|
const logger = rootLogger.getChild("[InCallView]");
|
||||||
const noOutline$ = constant(false);
|
|
||||||
|
|
||||||
export interface ActiveCallProps extends Omit<
|
export interface ActiveCallProps extends Omit<
|
||||||
InCallViewProps,
|
InCallViewProps,
|
||||||
@@ -436,7 +435,7 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
const showNameTags = useBehavior(vm.showNameTags$);
|
const showNameTags = useBehavior(vm.showNameTags$);
|
||||||
const showRingingStatus = vm.ringingStatusLocation === "tile";
|
const showRingingStatus = vm.ringingStatusLocation === "tile";
|
||||||
const showOutline = useBehavior(
|
const showOutline = useBehavior(
|
||||||
model instanceof GridTileViewModel ? model.showOutline$ : noOutline$,
|
model instanceof GridTileViewModel ? model.showOutline$ : constant(false),
|
||||||
);
|
);
|
||||||
|
|
||||||
return model instanceof GridTileViewModel ? (
|
return model instanceof GridTileViewModel ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user