diff --git a/MassiveFab.tsx b/MassiveFab.tsx index 7f45f1d..ec3a5d6 100644 --- a/MassiveFab.tsx +++ b/MassiveFab.tsx @@ -1,5 +1,6 @@ import {ComponentProps} from 'react' import {FAB, useTheme} from 'react-native-paper' +import {CombinedDarkTheme, CombinedDefaultTheme} from './App' import {lightColors} from './colors' export default function MassiveFab(props: Partial>) { @@ -8,8 +9,8 @@ export default function MassiveFab(props: Partial>) { const fabColor = lightColors .map(lightColor => lightColor.hex) .includes(colors.primary) - ? 'black' - : undefined + ? CombinedDarkTheme.colors.background + : CombinedDefaultTheme.colors.background return (