Fixed black gradient on ios

This commit is contained in:
keplyx 2020-01-28 22:03:40 +01:00
parent 5ba63da3d4
commit 41f869952a

View file

@ -101,7 +101,7 @@ export default class DashboardItem extends React.Component<Props> {
div: {color: ThemeManager.getCurrentThemeVariables().textColor},
}}/>
<LinearGradient
colors={['transparent', ThemeManager.getCurrentThemeVariables().cardDefaultBg]}
colors={['rgba(255,255,255,0)', ThemeManager.getCurrentThemeVariables().cardDefaultBg]}
start={{x: 0, y: 0}}
end={{x: 0, y: 0.6}}
// end={[0, 0.6]}