This commit is contained in:
Natsumi
2021-03-15 02:20:14 +13:00
parent d86428c190
commit 5cd0740b4a

View File

@@ -6699,16 +6699,18 @@ speechSynthesis.getVoices();
} }
$app.data.sharedFeedFilters = JSON.parse(configRepository.getString('sharedFeedFilters')); $app.data.sharedFeedFilters = JSON.parse(configRepository.getString('sharedFeedFilters'));
$app.data.toggleSwitchOptionsEveryone = { var toggleSwitchLayout = {
layout: { backgroundColor: 'white',
backgroundColor: 'white', selectedBackgroundColor: '#409eff',
selectedBackgroundColor: '#409eff', selectedColor: 'white',
selectedColor: 'white',
color: '#409eff', color: '#409eff',
borderColor: '#409eff', borderColor: '#409eff',
fontWeight: 'bold', fontWeight: 'bold',
fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"' fontFamily: '"Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", "sans-serif"'
}, };
$app.data.toggleSwitchOptionsEveryone = {
layout: toggleSwitchLayout,
size: { size: {
height: 1.5, height: 1.5,
width: 15, width: 15,
@@ -6720,15 +6722,7 @@ speechSynthesis.getVoices();
} }
}; };
$app.data.toggleSwitchOptionsFriends = { $app.data.toggleSwitchOptionsFriends = {
layout: { layout: 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"'
},
size: { size: {
height: 1.5, height: 1.5,
width: 11.25, width: 11.25,
@@ -6740,15 +6734,7 @@ speechSynthesis.getVoices();
} }
}; };
$app.data.toggleSwitchOptionsOn = { $app.data.toggleSwitchOptionsOn = {
layout: { layout: 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"'
},
size: { size: {
height: 1.5, height: 1.5,
width: 7.5, width: 7.5,
@@ -6760,15 +6746,7 @@ speechSynthesis.getVoices();
} }
}; };
$app.data.desktopToastToggleSwitchOption = { $app.data.desktopToastToggleSwitchOption = {
layout: { layout: 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"'
},
size: { size: {
height: 1.5, height: 1.5,
width: 22, width: 22,