Improve profile selection to remove special handling of IsDesktop

This commit is contained in:
Kamil Trzciński 2022-11-28 23:43:46 +01:00
parent 44e5751d75
commit 6ea0329cbb
8 changed files with 84 additions and 89 deletions

View file

@ -10,7 +10,8 @@ namespace SteamController
{
var items = new List<string>();
if (DesktopMode)
var profile = CurrentProfile;
if (profile?.IsDesktop ?? false)
items.Add("[DESKTOP]");
else
items.Add("[CONTROLLER]");