質問編集履歴
2
a
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
setSecondCall(false);
|
23
23
|
}
|
24
24
|
|
25
|
-
async function
|
25
|
+
async function threeSecondTimeout() {
|
26
26
|
await offVideoControls();
|
27
27
|
await callUnified();
|
28
28
|
clearTimeout(timeoutID);
|
@@ -37,7 +37,7 @@
|
|
37
37
|
<TouchableWithoutFeedback
|
38
38
|
onPress={() => {
|
39
39
|
setUpVideoControls();
|
40
|
-
|
40
|
+
threeSecondTimeout(); //↑のfunctionを呼び出し
|
41
41
|
}}>
|
42
42
|
<Text
|
43
43
|
style={{
|
1
あ
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
【ReactNative】setTimeoutを複数実行したとき、前回のsetTimeoutの秒数を上書きしたい
|
1
|
+
【ReactNative】setTimeoutを複数回実行したとき、前回のsetTimeoutの秒数を上書きしたい
|
body
CHANGED
File without changes
|