padding member list

This commit is contained in:
Roland Osborne 2022-10-11 14:04:34 -07:00
parent 0e09d981ca
commit fe850ea2e2
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { useEffect, useState, useRef, useContext } from 'react'; import { useEffect, useState, useRef, useContext } from 'react';
import SQLite from "react-native-sqlite-storage"; import SQLite from "react-native-sqlite-storage";
const DATABAG_DB = 'databag_v040.db'; const DATABAG_DB = 'databag_v041.db';
export function useStoreContext() { export function useStoreContext() {
const [state, setState] = useState({}); const [state, setState] = useState({});

View File

@ -30,9 +30,11 @@ export function AddTopic() {
const sendMessage = async () => { const sendMessage = async () => {
try { try {
if (state.message || state.assets.length > 0) {
message.current.blur(); message.current.blur();
await actions.addTopic(); await actions.addTopic();
} }
}
catch (err) { catch (err) {
console.log(err); console.log(err);
Alert.alert( Alert.alert(

View File

@ -11,6 +11,7 @@ export const styles = StyleSheet.create({
borderBottomWidth: 1, borderBottomWidth: 1,
borderColor: Colors.itemDivider, borderColor: Colors.itemDivider,
paddingLeft: 8, paddingLeft: 8,
paddingRight: 8,
}, },
detail: { detail: {
paddingLeft: 12, paddingLeft: 12,