FIX: Use more specific selector for header (#11185)
This commit is contained in:
parent
0b7f43fba8
commit
fc4910b556
|
@ -16,7 +16,7 @@ export default {
|
|||
},
|
||||
updateAppBackground() {
|
||||
later(() => {
|
||||
const header = document.querySelectorAll(".d-header")[0];
|
||||
const header = document.querySelector(".d-header-wrap .d-header");
|
||||
if (header) {
|
||||
const styles = window.getComputedStyle(header);
|
||||
postRNWebviewMessage("headerBg", styles.backgroundColor);
|
||||
|
|
Loading…
Reference in New Issue