chore: fix ts
This commit is contained in:
@@ -75,7 +75,7 @@ export default function SettingsScreen() {
|
||||
const s = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: colors.bg,
|
||||
backgroundColor: colors.bgPrimary,
|
||||
},
|
||||
content: {
|
||||
padding: spacing.l,
|
||||
@@ -83,12 +83,12 @@ export default function SettingsScreen() {
|
||||
},
|
||||
section: {
|
||||
backgroundColor: colors.bgSecondary,
|
||||
borderRadius: borderRadius.l,
|
||||
borderRadius: borderRadius.lg,
|
||||
marginBottom: spacing.l,
|
||||
overflow: "hidden",
|
||||
},
|
||||
sectionTitle: {
|
||||
fontSize: fontSize.s,
|
||||
fontSize: fontSize.sm,
|
||||
fontWeight: "700",
|
||||
color: colors.textMuted,
|
||||
textTransform: "uppercase",
|
||||
@@ -114,12 +114,12 @@ export default function SettingsScreen() {
|
||||
marginRight: spacing.m,
|
||||
},
|
||||
rowLabel: {
|
||||
fontSize: fontSize.m,
|
||||
color: colors.text,
|
||||
fontSize: fontSize.md,
|
||||
color: colors.textPrimary,
|
||||
fontWeight: "600",
|
||||
},
|
||||
rowDesc: {
|
||||
fontSize: fontSize.s,
|
||||
fontSize: fontSize.sm,
|
||||
color: colors.textMuted,
|
||||
marginTop: 2,
|
||||
},
|
||||
@@ -148,12 +148,12 @@ export default function SettingsScreen() {
|
||||
backgroundColor: colors.accent,
|
||||
},
|
||||
categoryName: {
|
||||
fontSize: fontSize.m,
|
||||
color: colors.text,
|
||||
fontSize: fontSize.md,
|
||||
color: colors.textPrimary,
|
||||
flex: 1,
|
||||
},
|
||||
allCatsHint: {
|
||||
fontSize: fontSize.s,
|
||||
fontSize: fontSize.sm,
|
||||
color: colors.textMuted,
|
||||
fontStyle: "italic",
|
||||
paddingHorizontal: spacing.l,
|
||||
@@ -161,7 +161,7 @@ export default function SettingsScreen() {
|
||||
},
|
||||
saveButton: {
|
||||
backgroundColor: colors.accent,
|
||||
borderRadius: borderRadius.l,
|
||||
borderRadius: borderRadius.lg,
|
||||
paddingVertical: spacing.m,
|
||||
alignItems: "center",
|
||||
flexDirection: "row",
|
||||
@@ -171,7 +171,7 @@ export default function SettingsScreen() {
|
||||
},
|
||||
saveButtonText: {
|
||||
color: "#fff",
|
||||
fontSize: fontSize.m,
|
||||
fontSize: fontSize.md,
|
||||
fontWeight: "700",
|
||||
},
|
||||
});
|
||||
@@ -304,8 +304,8 @@ export default function SettingsScreen() {
|
||||
type={alert.type}
|
||||
title={alert.title}
|
||||
message={alert.message}
|
||||
onConfirm={alert.onConfirm ?? hideAlert}
|
||||
onCancel={alert.onCancel ? hideAlert : undefined}
|
||||
onClose={hideAlert}
|
||||
onConfirm={alert.onConfirm}
|
||||
confirmText={alert.confirmText}
|
||||
cancelText={alert.cancelText}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user