Browse Source

Fixed black gradient on ios

keplyx 4 years ago
parent
commit
41f869952a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      components/DashboardItem.js

+ 1
- 1
components/DashboardItem.js View File

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

Loading…
Cancel
Save