Skip to content

Commit

Permalink
Removed obsolete AutoHideTimerBorder user option
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHurne committed Mar 5, 2015
1 parent 15c96a9 commit 7fa7371
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
11 changes: 0 additions & 11 deletions GW2PAO/Modules/Dungeons/DungeonsUserData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public class DungeonsUserData : UserData<DungeonsUserData>
private bool autoStartDungeonTimer;
private bool autoStopDungeonTimer;
private bool autoCompleteDungeons;
private bool autoHideTimerBorder;

private DateTime lastResetDateTime;
private ObservableCollection<Guid> hiddenDungeons = new ObservableCollection<Guid>();
Expand Down Expand Up @@ -61,15 +60,6 @@ public bool AutoCompleteDungeons
set { this.SetProperty(ref this.autoCompleteDungeons, value); }
}

/// <summary>
/// True if the dungeon timer's border should automatically hide, else false
/// </summary>
public bool AutoHideTimerBorder
{
get { return this.autoHideTimerBorder; }
set { SetProperty(ref this.autoHideTimerBorder, value); }
}

/// <summary>
/// The last recorded server-reset date/time
/// </summary>
Expand Down Expand Up @@ -104,7 +94,6 @@ public DungeonsUserData()
this.AutoStartDungeonTimer = true;
this.AutoStopDungeonTimer = true;
this.AutoCompleteDungeons = true;
this.AutoHideTimerBorder = true;
}

/// <summary>
Expand Down
6 changes: 1 addition & 5 deletions GW2PAO/Modules/Dungeons/Views/DungeonSettingsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</UserControl.Resources>
<StackPanel Margin="20,10,0,0">
<GroupBox Margin="0,5,5,5"
MinWidth="250"
MinWidth="200"
HorizontalAlignment="Left">
<GroupBox.Header>
<core:OutlinedTextBlock Text="{x:Static resx:Resources.DungeonTimer}" />
Expand All @@ -30,10 +30,6 @@
Margin="25,2,2,2">
<core:OutlinedTextBlock Text="{x:Static resx:Resources.AutoStop}" />
</CheckBox>
<CheckBox IsChecked="{Binding UserData.AutoHideTimerBorder}"
Margin="25,2,2,2">
<core:OutlinedTextBlock Text="{x:Static resx:Resources.AutoHideBorder}" />
</CheckBox>
</StackPanel>
</GroupBox>
<GroupBox Margin="0,5,5,5"
Expand Down

0 comments on commit 7fa7371

Please sign in to comment.