進行不能バグの解消

This commit is contained in:
harukin-OneMix4 2022-11-22 14:41:27 +09:00
parent cf57f29e62
commit 80d0ce21a9
2 changed files with 3 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default function Setting(props) {
textAlignVertical: "center", textAlignVertical: "center",
}} }}
> >
内部バージョン: 4.4.2.1 内部バージョン: 4.4.2.2
</Text> </Text>
<View style={{ flex: 1 }} /> <View style={{ flex: 1 }} />
</View> </View>

View File

@ -44,6 +44,7 @@ export default function Sign(props) {
}; };
const [nexPrePosition, setNexPrePosition] = useState(0); const [nexPrePosition, setNexPrePosition] = useState(0);
useInterval(() => { useInterval(() => {
if (currentStation.length == 1) return;
LayoutAnimation.easeInEaseOut(); LayoutAnimation.easeInEaseOut();
setNexPrePosition( setNexPrePosition(
nexPrePosition + 1 == currentStation.length ? 0 : nexPrePosition + 1 nexPrePosition + 1 == currentStation.length ? 0 : nexPrePosition + 1
@ -122,6 +123,7 @@ const StationNumberMaker = (props) => {
.filter((d) => (d.StationNumber ? true : false)) .filter((d) => (d.StationNumber ? true : false))
.map((d, index, array) => ( .map((d, index, array) => (
<View <View
key={d + index}
style={{ style={{
position: "absolute", position: "absolute",
alignContent: "center", alignContent: "center",