From 13b223ed5fdaa242ba194220bc444eebc9012c83 Mon Sep 17 00:00:00 2001 From: KeviNmp4 Date: Mon, 13 May 2024 16:52:20 +0200 Subject: [PATCH] Fixes: #25 --- frontend/app/(app)/(tabs)/beer/add.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/frontend/app/(app)/(tabs)/beer/add.js b/frontend/app/(app)/(tabs)/beer/add.js index 71a444b..2141c19 100644 --- a/frontend/app/(app)/(tabs)/beer/add.js +++ b/frontend/app/(app)/(tabs)/beer/add.js @@ -5,8 +5,8 @@ import Text from "@components/Text"; import { colors } from "@components/style"; import * as ImagePicker from "expo-image-picker"; import DropDownPicker from "react-native-dropdown-picker"; -/* import DropdownTheme from "@components/DropdownTheme"; */ const DropdownTheme = require("@components/DropdownTheme"); +import { Platform } from "react-native"; export default function BeerAdd() { const [b_name, setBName] = useState(""); @@ -140,6 +140,7 @@ export default function BeerAdd() { onChangeText={(text) => validateDegreeInput(text)} placeholderTextColor="#aaaaaa" keyboardType="numeric" + maxLength={3} /> -