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 SQLite from "react-native-sqlite-storage";
const DATABAG_DB = 'databag_v040.db';
const DATABAG_DB = 'databag_v041.db';
export function useStoreContext() {
const [state, setState] = useState({});

View File

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

View File

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