Fix Task: #92
This commit is contained in:
@@ -71,7 +71,7 @@ const CreatingSong = ({ active, config }) => {
|
||||
const elapsed = moment().diff(moment(startDate));
|
||||
const pct = Math.max(
|
||||
0,
|
||||
Math.min(100, Math.floor((elapsed / totalMs) * 100)),
|
||||
Math.min(100, Math.floor((elapsed / totalMs) * 100))
|
||||
);
|
||||
setProgress(pct);
|
||||
if (pct >= 100) {
|
||||
@@ -130,7 +130,7 @@ const CreatingSong = ({ active, config }) => {
|
||||
firebase.firestore.FieldValue.serverTimestamp(),
|
||||
updatedAt: firebase.firestore.FieldValue.serverTimestamp(),
|
||||
},
|
||||
{ merge: true },
|
||||
{ merge: true }
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
@@ -184,12 +184,12 @@ const CreatingSong = ({ active, config }) => {
|
||||
}}
|
||||
>
|
||||
<BlurView
|
||||
intensity={40}
|
||||
intensity={Platform.OS !== "ios" ? 10 : 40}
|
||||
tint="dark"
|
||||
style={{ flex: 1, padding: 10, paddingBottom: 20 }}
|
||||
experimentalBlurMethod={
|
||||
Platform.OS !== "ios" ? "dimezisBlurView" : "none"
|
||||
}
|
||||
// experimentalBlurMethod={
|
||||
// Platform.OS !== "ios" ? "dimezisBlurView" : "none"
|
||||
// }
|
||||
>
|
||||
<Pressable
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user