-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from sahin-a/54-toggle-windows-notifications
54 toggle windows notifications
- Loading branch information
Showing
15 changed files
with
223 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SteamAccountManager.AvaloniaUI.Models; | ||
|
||
public class VisibilityConfig | ||
{ | ||
public bool ShowUsername { get; set; } = true; | ||
public bool ShowLoginName { get; set; } = true; | ||
public bool ShowAvatar { get; set; } = true; | ||
public bool ShowLevel { get; set; } = true; | ||
public bool ShowBanStatus { get; set; } = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
SteamAccountManager.Domain/Common/CodeExtensions/ScopeExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SteamAccountManager.Domain.Common.CodeExtensions; | ||
|
||
public static class ScopeExtensions | ||
{ | ||
public static R Let<T, R>(this T value, Func<T, R> action) | ||
{ | ||
return action(value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
SteamAccountManager.Domain/Steam/Configuration/Model/NotificationConfig.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace SteamAccountManager.Domain.Steam.Configuration.Model; | ||
|
||
public class NotificationConfig | ||
{ | ||
public bool IsAllowedToSendNotification { get; set; } | ||
|
||
public NotificationConfig(bool isAllowedToSendNotification) | ||
{ | ||
IsAllowedToSendNotification = isAllowedToSendNotification; | ||
} | ||
} |
Oops, something went wrong.