Skip to content

Commit

Permalink
remove tip jar
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosentino11 committed Sep 3, 2024
1 parent 427cb9c commit 85a4c91
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React, { useState, useContext } from 'react';
import { View, Text, StyleSheet, Switch, TouchableOpacity, Alert, SafeAreaView, StatusBar, Appearance } from 'react-native';
import { View, Text, StyleSheet, Switch, TouchableOpacity, Alert, SafeAreaView, StatusBar, Appearance, Platform } from 'react-native';
import { useColorScheme } from 'react-native';
import { useThemeColor } from "@/utils/Colors";
import { Feather } from '@expo/vector-icons';
import Header from '@/components/Header';
import { SettingsContext } from '@/components/SettingsProvider';
import Purchases, { PurchasesOffering } from 'react-native-purchases';

export type SelectedBrowser = 'In App' | 'Default';

Expand Down Expand Up @@ -70,10 +71,11 @@ export default function SettingsPage() {
</TouchableOpacity>
))}
</View>

<TouchableOpacity style={[styles.tipButton, { backgroundColor: tintColor }]} onPress={handleTip}>
<Text style={styles.tipButtonText}>Tip Jar</Text>
</TouchableOpacity>
{/* {Platform.OS === "ios" && (
<TouchableOpacity style={[styles.tipButton, { backgroundColor: tintColor }]} onPress={handleTip}>
<Text style={styles.tipButtonText}>Tip Jar</Text>
</TouchableOpacity>
)} */}
</View>
</SafeAreaView>
);
Expand Down

0 comments on commit 85a4c91

Please sign in to comment.