Removed unused code

This commit is contained in:
tsommer committed 2022-09-20 19:52:36 +02:00
1 parent 1deca740a2
commit 2cd0803cad
1 file changed
+1 -2
@@ -246,8 +246,7 @@ public sealed partial class Setting : UserControl
// We load the corresponding culture for that index. As dropdown items, we show // We load the corresponding culture for that index. As dropdown items, we show
// all other available cultures: // all other available cultures:
var allCultures = await AppSettings.GetCultureInfos(); var allCultures = await AppSettings.GetCultureInfos();
var sourceCulture = allCultures.FirstOrDefault(n => n.Index == currentSourceCultureIndex);
// Attention: We have to store the culture's index, because the index is not // Attention: We have to store the culture's index, because the index is not
// continuous and can change when the user adds or removes a culture! // continuous and can change when the user adds or removes a culture!
var settingData = new SettingUIData( var settingData = new SettingUIData(