Skip to content

Commit

Permalink
JSAny to toJS
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAunvik committed May 22, 2024
1 parent a074567 commit ee60e63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/oidc_web/lib/oidc_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class OidcWeb extends OidcPlatform {
..id = iframeId
..width = '0'
..height = '0'
..hidden = true as JSAny
..hidden = true.toJS
..style.visibility = 'hidden'
..style.position = 'fixed'
..style.left = '-1000px'
Expand Down Expand Up @@ -386,8 +386,8 @@ class OidcWeb extends OidcPlatform {
}
const space = ' ';
cw.postMessage(
'${request.clientId}$space${request.sessionState}' as JSAny,
checkSessionIframe.origin as JSAny,
'${request.clientId}$space${request.sessionState}'.toJS,
checkSessionIframe.origin.toJS,
);
} catch (e, st) {
timerSub?.cancel();
Expand Down

0 comments on commit ee60e63

Please sign in to comment.