@tastic/shell 0.23.0 → 0.23.1
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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/Fonts.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ var RNPaper2 = __toESM(require("react-native-paper"));
|
|
|
119
119
|
var import_react_native_safe_area_context2 = require("react-native-safe-area-context");
|
|
120
120
|
|
|
121
121
|
// src/components/Fonts.tsx
|
|
122
|
-
var
|
|
122
|
+
var import_MaterialCommunityIcons = __toESM(require("@expo/vector-icons/MaterialCommunityIcons"));
|
|
123
123
|
var import_expo_constants = __toESM(require("expo-constants"));
|
|
124
124
|
var import_expo_font = require("expo-font");
|
|
125
125
|
var import_head = __toESM(require("expo-router/head"));
|
|
@@ -133,7 +133,7 @@ var { markReady: markSplashReady, useReady: useSplashReady, pendingGates: pendin
|
|
|
133
133
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
134
134
|
function Fonts({ children }) {
|
|
135
135
|
const pack = usePack();
|
|
136
|
-
const [loaded, error] = (0, import_expo_font.useFonts)({ ...pack.fonts, ...
|
|
136
|
+
const [loaded, error] = (0, import_expo_font.useFonts)({ ...pack.fonts, ...import_MaterialCommunityIcons.default.font });
|
|
137
137
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
138
138
|
import_react_native.Platform.OS === "web" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_head.default, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("title", { children: import_expo_constants.default.expoConfig?.name }) }),
|
|
139
139
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SplashGate, { gate: "fonts", ready: loaded || !!error, children })
|
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ import * as RNPaper2 from "react-native-paper";
|
|
|
38
38
|
import { SafeAreaProvider } from "react-native-safe-area-context";
|
|
39
39
|
|
|
40
40
|
// src/components/Fonts.tsx
|
|
41
|
-
import
|
|
41
|
+
import MaterialCommunityIcons from "@expo/vector-icons/MaterialCommunityIcons";
|
|
42
42
|
import Constants from "expo-constants";
|
|
43
43
|
import { useFonts } from "expo-font";
|
|
44
44
|
import Head from "expo-router/head";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tastic/shell",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"description": "The app around a pack of React Native games, two-seat or for one player: Home, the loadout, the stats screen, Profiles and Settings, the pack's Redux store and its root providers, driven by one PackDefinition",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
package/src/components/Fonts.tsx
CHANGED