diff --git a/html/src/app.js b/html/src/app.js
index d17ab3fa..9d7f8214 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -6699,16 +6699,18 @@ speechSynthesis.getVoices();
}
$app.data.sharedFeedFilters = JSON.parse(configRepository.getString('sharedFeedFilters'));
- $app.data.toggleSwitchOptionsEveryone = {
- layout: {
- backgroundColor: 'white',
- selectedBackgroundColor: '#409eff',
- selectedColor: 'white',
+ var toggleSwitchLayout = {
+ backgroundColor: 'white',
+ selectedBackgroundColor: '#409eff',
+ selectedColor: 'white',
color: '#409eff',
- borderColor: '#409eff',
- fontWeight: 'bold',
- fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
- },
+ borderColor: '#409eff',
+ fontWeight: 'bold',
+ fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
+ };
+
+ $app.data.toggleSwitchOptionsEveryone = {
+ layout: toggleSwitchLayout,
size: {
height: 1.5,
width: 15,
@@ -6720,15 +6722,7 @@ speechSynthesis.getVoices();
}
};
$app.data.toggleSwitchOptionsFriends = {
- layout: {
- backgroundColor: 'white',
- selectedBackgroundColor: '#409eff',
- selectedColor: 'white',
- color: '#409eff',
- borderColor: '#409eff',
- fontWeight: 'bold',
- fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
- },
+ layout: toggleSwitchLayout,
size: {
height: 1.5,
width: 11.25,
@@ -6740,15 +6734,7 @@ speechSynthesis.getVoices();
}
};
$app.data.toggleSwitchOptionsOn = {
- layout: {
- backgroundColor: 'white',
- selectedBackgroundColor: '#409eff',
- selectedColor: 'white',
- color: '#409eff',
- borderColor: '#409eff',
- fontWeight: 'bold',
- fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
- },
+ layout: toggleSwitchLayout,
size: {
height: 1.5,
width: 7.5,
@@ -6760,15 +6746,7 @@ speechSynthesis.getVoices();
}
};
$app.data.desktopToastToggleSwitchOption = {
- layout: {
- backgroundColor: 'white',
- selectedBackgroundColor: '#409eff',
- selectedColor: 'white',
- color: '#409eff',
- borderColor: '#409eff',
- fontWeight: 'bold',
- fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
- },
+ layout: toggleSwitchLayout,
size: {
height: 1.5,
width: 22,