New refresh logic

This commit is contained in:
Imbus 2023-12-15 01:24:37 +01:00
parent 3855a587a0
commit 72a4b26c82
3 changed files with 41 additions and 9 deletions

View file

@ -10,7 +10,6 @@ const colorScheme = {
export const style = StyleSheet.create({
app: {
// Outermost container
flex: 1,
backgroundColor: colorScheme.background, // For the "entire" app
alignItems: "center",
@ -44,4 +43,23 @@ export const style = StyleSheet.create({
fontWeight: "bold",
color: colorScheme.postFont,
},
newPostContainer: {
backgroundColor: colorScheme.background,
margin: 0,
padding: 0,
width: "100%",
height: "100%",
alignItems: "center",
justifyContent: "center",
},
newPostInput: {
backgroundColor: colorScheme.postBox,
width: "100%",
height: "100%",
padding: 10,
color: colorScheme.postFont,
},
errorText: {
color: colorScheme.error,
},
});