Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix scrollview in sheet

Ammar Ahmed8c3c011ad0d3
diff --git a/apps/mobile/app/components/sheets/add-api-key/index.tsx b/apps/mobile/app/components/sheets/add-api-key/index.tsx
index 6841a706d..5a0014513 100644
--- a/apps/mobile/app/components/sheets/add-api-key/index.tsx
+++ b/apps/mobile/app/components/sheets/add-api-key/index.tsx
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import React, { useRef, useState } from "react";
-import { View, ScrollView } from "react-native";
+import { View } from "react-native";
import { strings } from "@notesnook/intl";
import { db } from "../../../common/database";
import { Button } from "../../ui/button";
@@ -32,6 +32,7 @@ import { AppFontSize } from "../../../utils/size";
import { ToastManager, presentSheet } from "../../../services/event-manager";
import { useThemeColors } from "@notesnook/theme";
import { Pressable } from "../../ui/pressable";
+import { ScrollView } from "react-native-actions-sheet";
const getExpiryOptions = () => [
{ label: strings.expiryOneDay(), value: 24 * 60 * 60 * 1000 },