Skip to content

Commit d182142

Browse files
Merge pull request #199 from ideematic/master
backgroundColor is read-only
2 parents bb36fa8 + 3cddd7f commit d182142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DropdownAlert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export default class DropdownAlert extends Component {
310310
if (IS_ANDROID) {
311311
const { inactiveStatusBarBackgroundColor, activeStatusBarBackgroundColor, translucent } = this.props;
312312
if (active) {
313-
const backgroundColor = activeStatusBarBackgroundColor;
313+
let backgroundColor = activeStatusBarBackgroundColor;
314314
const type = this.alertData.type;
315315
if (type !== TYPE.custom) {
316316
backgroundColor = this.getBackgroundColorForType(type);

0 commit comments

Comments
 (0)