Skip to content

Commit

Permalink
Merge pull request #892 from Ordisoftware/dev
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
Ordisoftware authored Sep 19, 2021
2 parents 2c4352b + fb1aea0 commit a1c758d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ static partial class SystemManager
static public void CheckServerCertificate(string url)
{
Uri uri = new Uri(url);
uri = new Uri(uri.Scheme + "://" + uri.Host);
var builder = new UriBuilder();
builder.Scheme = uri.Scheme;
builder.Host = uri.Host;
uri = builder.Uri;
string id = Guid.NewGuid().ToString();
var point = ServicePointManager.FindServicePoint(uri);
var request = WebRequest.Create(uri);
Expand Down
4 changes: 2 additions & 2 deletions Project/Source/Forms/Boxes/Reminder/ReminderForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static public void Run(LunisolarDay row, TorahCelebrationDay celebration, Remind
form.Text = " " + form.LabelTitle.Text;
if ( isShabat )
{
form.LabelTitle.Text += " " + row.DayAndMonthText;
// TODO remove form.LabelTitle.Text += " " + row.DayAndMonthText;
if ( Program.Settings.ReminderShabatShowParashah )
{
//showParashah = true;
Expand All @@ -128,7 +128,7 @@ static public void Run(LunisolarDay row, TorahCelebrationDay celebration, Remind
form.LabelParashahValue.Enabled = false;
}
//if ( !showParashah && !doLockSession || ( !showParashah && !isLockSessionIcon ) )
//form.Height -= form.LabelParashahValue.Height;
//form.Height -= form.LabelParashahValue.Height;
form.ActionLockout.Visible = isLockSessionIcon;
form.LabelTitle.ForeColor = Program.Settings.CalendarColorTorahEvent;
form.LabelDate.LinkColor = Program.Settings.CalendarColorMoon;
Expand Down

0 comments on commit a1c758d

Please sign in to comment.