Skip to content

Commit e861cef

Browse files
committed
fix: minor fixes and cleanup
1 parent 1399bf7 commit e861cef

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ npm start android
5656
- Shorten URL: Creates a short link
5757
- Upload Remote: Downloads and hosts the remote file
5858

59-
### Share through app
59+
### Share to droidypaste
6060
1. Share files, text or url to droidypaste
6161
2. Files and text are uploaded and urls are shortened
6262
3. The URL copied to clipboard

src/app/(tabs)/_layout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ function TabIcon({ name, color, size }: { name: TabIconName; color: string; size
6666
}
6767

6868
// For Android and web, use Material Icons
69-
const materialIconName = name === 'square.and.arrow.up' ? 'upload' :
70-
name === 'list.bullet' ? 'list' : 'settings';
69+
const materialIconName = name === 'square.and.arrow.up' ? 'upload' : name === 'list.bullet' ? 'list' : 'settings';
7170
return (
7271
<MaterialIcons
7372
name={materialIconName}

src/app/_layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function RootLayoutNav() {
3434
}
3535

3636
if (hasShareIntent && shareIntent) {
37-
console.log('Processing share intent:', hasShareIntent, shareIntent, error);
37+
// console.log('Processing share intent:', hasShareIntent, shareIntent, error);
3838

3939
try {
4040
// Handle different types of shared content
@@ -43,7 +43,7 @@ function RootLayoutNav() {
4343
for (const file of shareIntent.files) {
4444
const { path } = file;
4545
// Handle as generic file
46-
console.log('Uploading shared file:', path);
46+
// console.log('Uploading shared file:', path);
4747
const url = await uploadFile(
4848
path,
4949
settings.serverUrl,

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "droidypaste",
33
"main": "expo-router/entry",
4-
"version": "0.1.10",
4+
"version": "0.3.2",
55
"scripts": {
66
"start": "expo start",
77
"reset-project": "node ./scripts/reset-project.js",

0 commit comments

Comments
 (0)