From 49e30dc7235e540a98e062a00f4c6cfd6d79604d Mon Sep 17 00:00:00 2001 From: AlexAlexandre Date: Thu, 16 Dec 2021 00:02:18 -0300 Subject: [PATCH] minor tweaks --- app/views/RoomView/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 15612674b..88dc06e1a 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -470,7 +470,8 @@ class RoomView extends React.Component { headerLeft: () => ( { const { input } = event; if (handleCommandScroll(event)) { const offset: number = input === 'UIKeyInputUpArrow' ? 100 : -100; - this.offset += offset; + this.offset! += offset; this.flatList?.scrollToOffset({ offset: this.offset }); } else if (handleCommandRoomActions(event)) { this.goRoomActionsView();