diff --git a/app/(auth)/(tabs)/(search)/index.tsx b/app/(auth)/(tabs)/(search)/index.tsx index 5c486866..bc431bca 100644 --- a/app/(auth)/(tabs)/(search)/index.tsx +++ b/app/(auth)/(tabs)/(search)/index.tsx @@ -305,6 +305,9 @@ export default function search() { }, hideWhenScrolling: false, autoFocus: false, + // Android: placeholder and icon color + hintTextColor: "#fff", + headerIconColor: "#fff", }, }); }, [navigation]); @@ -938,7 +941,7 @@ export default function search() { ) : debouncedSearch.length === 0 ? ( - + {exampleSearches.map((e) => ( { diff --git a/augmentations/number.ts b/augmentations/number.ts index 11c0837d..bef44ac5 100644 --- a/augmentations/number.ts +++ b/augmentations/number.ts @@ -11,7 +11,7 @@ Number.prototype.bytesToReadable = function (decimals = 2) { const bytes = this.valueOf(); if (bytes === 0) return "0 Bytes"; - const k = 1024; + const k = 1000; const dm = decimals < 0 ? 0 : decimals; const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];