Skip to content

Commit eaf2168

Browse files
committed
Remove IPFS mentions and export functionality from UI…
Э
1 parent 172655c commit eaf2168

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

app/auth.tsx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default function AuthScreen() {
117117
</Text>
118118
{needsCredentials && savedBackendType && (
119119
<View style={styles.infoBox}>
120-
<Text style={styles.infoText}>Using {savedBackendType === 'renterd' ? 'Sia Renterd' : 'IPFS'}</Text>
120+
<Text style={styles.infoText}>Using {savedBackendType === 'renterd' ? 'Sia Renterd' : 'Local Storage'}</Text>
121121
</View>
122122
)}
123123
</View>
@@ -151,16 +151,6 @@ export default function AuthScreen() {
151151
Sia{'\n'}Renterd
152152
</Text>
153153
</TouchableOpacity>
154-
155-
<View style={[styles.methodButton, styles.disabledMethodButton, { opacity: 0.5 }]}>
156-
<View style={styles.methodButtonContent}>
157-
<IconSymbol name="globe" size={18} color="#6B7280" />
158-
<Text style={styles.methodText}>IPFS</Text>
159-
</View>
160-
<View style={styles.soonBadge}>
161-
<Text style={styles.soonText}>Soon</Text>
162-
</View>
163-
</View>
164154
</View>
165155

166156
<View style={styles.formContainer}>
@@ -357,18 +347,6 @@ const styles = StyleSheet.create({
357347
opacity: 0.8,
358348
textAlign: 'center',
359349
},
360-
soonBadge: {
361-
position: 'absolute',
362-
top: 4,
363-
right: 4,
364-
backgroundColor: '#FCD34D',
365-
paddingHorizontal: 6,
366-
paddingVertical: 2,
367-
borderRadius: BorderRadius.sm,
368-
},
369-
soonText: {
370-
...createTextStyle('xs', 'semibold', '#92400E'),
371-
},
372350
infoBox: {
373351
marginTop: Spacing.lg,
374352
backgroundColor: 'rgba(255, 255, 255, 0.2)',

app/settings.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,13 @@ export default function SettingsScreen() {
9797
}
9898
};
9999

100-
const handleExportData = () => {
101-
Alert.alert('Export Data', 'Export functionality will be available soon.', [{ text: 'OK' }]);
102-
};
103100

104101
const getBackendDisplayName = () => {
105102
switch (authState.backendType) {
106103
case 'local':
107104
return 'Local Storage';
108105
case 'renterd':
109106
return 'Sia Renterd';
110-
case 'ipfs':
111-
return 'IPFS';
112107
default:
113108
return 'Unknown';
114109
}
@@ -225,13 +220,6 @@ export default function SettingsScreen() {
225220
colors={colors}
226221
onPress={isSyncing ? undefined : handleSyncNow}
227222
/>
228-
<SettingItem
229-
icon={'square.and.arrow.up' as any}
230-
title="Export Data"
231-
subtitle="Export all notes"
232-
colors={colors}
233-
onPress={handleExportData}
234-
/>
235223
</View>
236224
</View>
237225

@@ -267,7 +255,7 @@ export default function SettingsScreen() {
267255
icon={'doc.text' as any}
268256
title="Privacy Policy"
269257
colors={colors}
270-
onPress={() => Alert.alert('Privacy', 'Your data is stored locally and on IPFS.')}
258+
onPress={() => Alert.alert('Privacy', 'Your data is stored locally or on your chosen backend.')}
271259
/>
272260
</View>
273261
</View>

0 commit comments

Comments
 (0)