MCPcopy Create free account
hub / github.com/firebase/quickstart-js / updateUIForPushEnabled

Function updateUIForPushEnabled

messaging/main.ts:135–139  ·  view source on GitHub ↗
(currentToken: string)

Source from the content-addressed store, hash-verified

133}
134
135function updateUIForPushEnabled(currentToken: string) {
136 showHideDiv(tokenDivId, true);
137 showHideDiv(permissionDivId, false);
138 showToken(currentToken);
139}
140
141function updateUIForPushPermissionRequired() {
142 showHideDiv(tokenDivId, false);

Callers 1

resetUIFunction · 0.85

Calls 2

showHideDivFunction · 0.85
showTokenFunction · 0.85

Tested by

no test coverage detected