firtname and lastname before username
This commit is contained in:
@@ -78,11 +78,11 @@ const SongReady = () => {
|
||||
|
||||
// Sync progression depuis les players
|
||||
useEffect(() => {
|
||||
// expo-audio returns seconds on native, but on web values can be milliseconds
|
||||
// Ensure we consistently work with milliseconds whatever the platform
|
||||
const toMs = (t) => {
|
||||
const n = Number(t || 0);
|
||||
if (!isFinite(n) || n <= 0) return 0;
|
||||
return Platform.OS === "web" ? n : n * 1000;
|
||||
return n >= 1000 ? n : n * 1000;
|
||||
};
|
||||
|
||||
const id = setInterval(() => {
|
||||
|
||||
Reference in New Issue
Block a user