Skip to content

Commit 5cc2c4f

Browse files
using new SafeAreaView for the example app
1 parent 87211da commit 5cc2c4f

9 files changed

Lines changed: 17 additions & 13 deletions

File tree

example/app/budgets.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34

45
import { BudgetsWidget } from "@mxenabled/react-native-widget-sdk"
56

example/app/connect.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34
import * as Linking from "expo-linking"
45

56
import { ConnectWidget } from "@mxenabled/react-native-widget-sdk"

example/app/goals.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34

45
import { GoalsWidget } from "@mxenabled/react-native-widget-sdk"
56

example/app/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { FC, PropsWithChildren } from "react"
2-
import { SafeAreaView, Text, View, StyleSheet } from "react-native"
2+
import { Text, View, StyleSheet } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34
import { Link } from "expo-router"
45

56
const styles = StyleSheet.create({

example/app/pulse.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { PulseWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/app/spending.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { SpendingWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/app/transactions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { TransactionsWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)