Skip to content

Commit

Permalink
1.1.0.1 Hotfix
Browse files Browse the repository at this point in the history
* Fixed a bug that would not let emails be entered into the 'Name'
field.
  • Loading branch information
rex706 committed Sep 7, 2017
1 parent e2c4d07 commit bc34f8a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Easily switch between steam accounts.

![alt tag](http://i.imgur.com/7sUxieF.png) ![alt tag](http://i.imgur.com/jEGV9kr.png) ![alt tag](http://i.imgur.com/8yf7Pvp.png)

[**DOWNLOAD**](https://github.com/rex706/SAM/releases/download/v1.1.0.0/SAM_1.1.0.0.zip)
[**DOWNLOAD**](https://github.com/rex706/SAM/releases/tag/v1.1.0.1)

**Features**

Expand All @@ -19,7 +19,10 @@ Easily switch between steam accounts.

**CHANGELOG**

**Latest version:** 1.1.0.0
**Latest version:** 1.1.0.1
* Fixed a bug that would not let emails be entered into the 'Name' field.

1.1.0.0

* Automatic login on program startup.
- Most recently used account via settings menu.
Expand Down
12 changes: 7 additions & 5 deletions SAM/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
using System.Windows.Media;
using System.Xml.Serialization;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Drawing.Imaging;

namespace SAM
{
Expand Down Expand Up @@ -229,8 +231,8 @@ private void postDeserializedRefresh(bool seedAcc)

accountButton.Tag = bCounter.ToString();

accountButton.Name = account.Name;
accountText.Name = account.Name + "Label";
//accountButton.Name = account.Name;
//accountText.Name = account.Name + "Label";
accountText.Text = account.Name;

// If there is a description, set up tooltip.
Expand All @@ -256,15 +258,15 @@ private void postDeserializedRefresh(bool seedAcc)
if (account.ProfUrl == "" || account.AviUrl == null || account.AviUrl == "" || account.AviUrl == " ")
{
accountButton.Content = account.Name;
accountButton.Background = Brushes.LightGray;
accountButton.Background = System.Windows.Media.Brushes.LightGray;
}
else
{
try
{
ImageBrush brush1 = new ImageBrush();
BitmapImage image = new BitmapImage(new Uri(account.AviUrl));
brush1.ImageSource = image;
BitmapImage image1 = new BitmapImage(new Uri(account.AviUrl));
brush1.ImageSource = image1;
accountButton.Background = brush1;
buttonGrid.Children.Add(accountText);
}
Expand Down
4 changes: 2 additions & 2 deletions SAM/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.0.1")]
[assembly: AssemblyFileVersion("1.1.0.1")]

0 comments on commit bc34f8a

Please sign in to comment.