mirror of
https://github.com/balzack/databag.git
synced 2025-05-04 15:35:16 +00:00
styling settings component
This commit is contained in:
parent
d4b8fbc51c
commit
9956b11601
@ -171,7 +171,7 @@ export const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
paddingLeft: 32,
|
paddingLeft: 32,
|
||||||
paddingRight: 8,
|
paddingRight: 32,
|
||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
@ -193,6 +193,7 @@ export const styles = StyleSheet.create({
|
|||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
},
|
},
|
||||||
control: {
|
control: {
|
||||||
|
flexShrink: 1,
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
@ -15,8 +15,6 @@ export function Settings() {
|
|||||||
const [savingRegistry, setSavingRegistry] = useState(false);
|
const [savingRegistry, setSavingRegistry] = useState(false);
|
||||||
const [savingNotifications, setSavingNotifications] = useState(false);
|
const [savingNotifications, setSavingNotifications] = useState(false);
|
||||||
|
|
||||||
console.log("PREF: ", state.fullDayTime, state.monthFirstDate);
|
|
||||||
|
|
||||||
const selectImage = async () => {
|
const selectImage = async () => {
|
||||||
try {
|
try {
|
||||||
const img = await ImagePicker.openPicker({ mediaType: 'photo', width: 256, height: 256, cropping: true, cropperCircleOverlay: true, includeBase64: true });
|
const img = await ImagePicker.openPicker({ mediaType: 'photo', width: 256, height: 256, cropping: true, cropperCircleOverlay: true, includeBase64: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user