@sqliteai/todoapp 1.0.4 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqliteai/todoapp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "An Expo template for building apps with the SQLite CloudSync extension",
5
5
  "repository": {
6
6
  "type": "git",
@@ -284,6 +284,9 @@ const withCloudSync = (config) => {
284
284
  if (!fonts.includes('FontAwesome.ttf')) {
285
285
  fonts.push('FontAwesome.ttf');
286
286
  }
287
+ if (!fonts.includes('MaterialDesignIcons.ttf')) {
288
+ fonts.push('MaterialDesignIcons.ttf');
289
+ }
287
290
  config.modResults.UIAppFonts = fonts;
288
291
  return config;
289
292
  });
@@ -1,7 +1,6 @@
1
1
  import React, { useState } from "react";
2
2
  import { ScrollView, StyleSheet, View, Alert } from "react-native";
3
3
  import { Avatar, Card, Text, Modal, Portal, Button, TextInput } from "react-native-paper";
4
- import Icon from '@react-native-vector-icons/material-design-icons';
5
4
  import { useFocusEffect } from '@react-navigation/native';
6
5
  import useCategories from "../hooks/useCategories";
7
6
  import { useSyncContext } from "../components/SyncContext";
@@ -127,7 +126,7 @@ const Categories = ({ navigation }) => {
127
126
  >
128
127
  <Card.Title
129
128
  left={(props) => (
130
- <Icon
129
+ <Avatar.Icon
131
130
  {...props}
132
131
  icon="inbox-outline"
133
132
  color={styles.icon.color}
@@ -151,7 +150,7 @@ const Categories = ({ navigation }) => {
151
150
  >
152
151
  <Card.Title
153
152
  left={(props) => (
154
- <Icon
153
+ <Avatar.Icon
155
154
  {...props}
156
155
  icon="tag-outline"
157
156
  color={styles.icon.color}
@@ -169,7 +168,7 @@ const Categories = ({ navigation }) => {
169
168
  <Card style={styles.addCard} onPress={showModal} mode="contained">
170
169
  <Card.Title
171
170
  left={(props) => (
172
- <Icon
171
+ <Avatar.Icon
173
172
  {...props}
174
173
  icon="plus-circle-outline"
175
174
  color={styles.addIcon.color}