@bobfrankston/rmfmail 1.1.159 → 1.1.160

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2127,8 +2127,10 @@ ${csp}
2127
2127
  function popOutCurrentMessage() {
2128
2128
  if (!currentMessage)
2129
2129
  return;
2130
+ const isAndroid = window.mailxapi?.platform === "android";
2131
+ const isCoarse = !!window.matchMedia?.("(pointer: coarse)")?.matches;
2130
2132
  const isNarrow = window.innerWidth <= 768;
2131
- if (isNarrow) {
2133
+ if (isAndroid || isCoarse || isNarrow) {
2132
2134
  document.body.classList.toggle("viewer-fullscreen");
2133
2135
  return;
2134
2136
  }