diff --git a/components/Menu/FixedContentBottom.js b/components/Menu/FixedContentBottom.js
index f7c2bc0..9b66a16 100644
--- a/components/Menu/FixedContentBottom.js
+++ b/components/Menu/FixedContentBottom.js
@@ -270,27 +270,7 @@ export const FixedContentBottom = (props) => {
データベースに存在する全列車のダイヤを探索
-
- このアプリについて
-
-
- このアプリはXprocess(HARUKIN)が製作しているJR四国の完全非公式アシストアプリケーションです。このアプリに関することでのJR四国公式へ問合せすることはお控えください。以下のTwitterよりお願いします。
-
-
-
- Linking.openURL("https://twitter.com/Xprocess_main")
- }
- >
-
- XprocessのTwitter
-
-
- 制作運営のTwitterです。
-
-
+ その他
{
/>
))}
+
+ お気に入り登録した駅を並び替えることができます。一番上に置いた駅が位置情報の起動時に表示されます。(移動不可能な駅の場合エラーが発生します。任意指定が可能になる機能を開発予定です。)
+
);
};
diff --git a/components/Settings/SettingTopPage.js b/components/Settings/SettingTopPage.js
index 5db3529..46bfbb4 100644
--- a/components/Settings/SettingTopPage.js
+++ b/components/Settings/SettingTopPage.js
@@ -239,6 +239,24 @@ export const SettingTopPage = ({
>
開発情報
+
+
+
+ Linking.openURL("https://twitter.com/Xprocess_main")}
+ >
+
+ 運営Twitter
+
testNFC()}>
diff --git a/components/Settings/WidgetSettings.js b/components/Settings/WidgetSettings.js
index 982906f..5b08b0c 100644
--- a/components/Settings/WidgetSettings.js
+++ b/components/Settings/WidgetSettings.js
@@ -90,13 +90,18 @@ export const WidgetSettings = ({ navigate }) => {
margin: 10,
}}
>
- (
-
- )}
- width={400}
- height={250}
- />
+ {Object.keys(nameToWidget).map((Name) => {
+ const Data = nameToWidget[Name];
+ return (
+ (
+
+ )}
+ width={400}
+ height={250}
+ />
+ );
+ })}
@@ -152,6 +157,15 @@ export const WidgetSettings = ({ navigate }) => {
))}
+
+ ホーム画面に追加したウィジェットをリストアップします。現状は数を表示するだけですが、ここに各種設定を追加していく予定です。
+
);
};
diff --git a/components/駅名表/Sign.js b/components/駅名表/Sign.js
index 852f9ec..38bc62f 100644
--- a/components/駅名表/Sign.js
+++ b/components/駅名表/Sign.js
@@ -28,6 +28,18 @@ export default function Sign(props) {
});
setTestButtonStatus(isFavorite.length == 0 ? false : true);
}, [favoriteStation, currentStation]);
+ useEffect(() => {
+ const isFavorite = favoriteStation.filter((d) => {
+ const compare = JSON.stringify(d);
+ const current = JSON.stringify(currentStation);
+ if (compare === current) {
+ return true;
+ } else {
+ return false;
+ }
+ });
+ setTestButtonStatus(isFavorite.length == 0 ? false : true);
+ }, [favoriteStation, currentStation]);
useInterval(() => {
if (currentStation.length == 1) {