Skip to content

Commit 03a2c1b

Browse files
committed
Temporarily deactivate update channel
- we only have one ... for now
1 parent ef595a5 commit 03a2c1b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

SimpleDnsCrypt/ViewModels/LoaderViewModel.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ private async void InitializeApplication()
7272
if (Properties.Settings.Default.AutoUpdate)
7373
{
7474
ProgressText = LocalizationEx.GetUiString("loader_checking_version", Thread.CurrentThread.CurrentCulture);
75+
//TODO: remove in future version (for now we only have one channel)
76+
Properties.Settings.Default.MinUpdateType = 2;
77+
Properties.Settings.Default.Save();
7578
var minUpdateType = (UpdateType)Properties.Settings.Default.MinUpdateType;
7679
var update = await ApplicationUpdater.CheckForRemoteUpdateAsync(minUpdateType).ConfigureAwait(false);
7780
if (update.CanUpdate)

SimpleDnsCrypt/Views/SettingsView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
Cursor="Hand" Foreground="#FF575757" />
8787
<StackPanel Margin="5,0,0,0" Orientation="Horizontal">
8888
<TextBlock Foreground="#FF575757" Text="{lex:Loc Key=settings_update_channel}" VerticalAlignment="Center" />
89-
<ComboBox VerticalContentAlignment="Center"
89+
<ComboBox VerticalContentAlignment="Center" IsEnabled="False"
9090
Width="90"
9191
ItemsSource="{Binding Path=SelectedUpdateType, Converter={converters:EnumToCollectionConverter}, Mode=OneTime}"
9292
SelectedValuePath="Value"

0 commit comments

Comments
 (0)