diff --git a/mobile/src/screens/PetsScreen.tsx b/mobile/src/screens/PetsScreen.tsx index 83e2b5b..810046e 100644 --- a/mobile/src/screens/PetsScreen.tsx +++ b/mobile/src/screens/PetsScreen.tsx @@ -45,6 +45,7 @@ export default function PetsScreen() { icon="plus" style={styles.fab} onPress={() => console.log('Lisää lemmikki')} + label="Lisää lemmikki" /> ); diff --git a/mobile/src/screens/ProfileScreen.tsx b/mobile/src/screens/ProfileScreen.tsx index 9d56870..e6f588b 100644 --- a/mobile/src/screens/ProfileScreen.tsx +++ b/mobile/src/screens/ProfileScreen.tsx @@ -630,6 +630,16 @@ export default function ProfileScreen() { > Hoitaja + diff --git a/mobile/src/styles/screenStyles.ts b/mobile/src/styles/screenStyles.ts index 11030bf..39cca1b 100644 --- a/mobile/src/styles/screenStyles.ts +++ b/mobile/src/styles/screenStyles.ts @@ -404,9 +404,10 @@ export const visitsStyles = StyleSheet.create({ fab: { position: 'absolute', - right: SPACING.md, - bottom: SPACING.md, - backgroundColor: COLORS.primary, + margin: SPACING.lg, + right: 0, + bottom: 0, + backgroundColor: COLORS.primaryContainer, }, modalContainer: { @@ -597,9 +598,10 @@ export const medicationsStyles = StyleSheet.create({ fab: { position: 'absolute', - right: SPACING.md, - bottom: SPACING.md, - backgroundColor: COLORS.primary, + margin: SPACING.lg, + right: 0, + bottom: 0, + backgroundColor: COLORS.primaryContainer, }, modalContainer: { @@ -786,9 +788,10 @@ export const vaccinationsStyles = StyleSheet.create({ fab: { position: 'absolute', - right: SPACING.md, - bottom: SPACING.md, - backgroundColor: COLORS.primary, + margin: SPACING.lg, + right: 0, + bottom: 0, + backgroundColor: COLORS.primaryContainer, }, modalContainer: { @@ -1166,9 +1169,10 @@ export const weightsStyles = StyleSheet.create({ fab: { position: 'absolute', - right: SPACING.md, - bottom: SPACING.md, - backgroundColor: COLORS.primary, + margin: SPACING.lg, + right: 0, + bottom: 0, + backgroundColor: COLORS.primaryContainer, }, graphScrollView: {