Skip to content

Commit b1435d3

Browse files
authored
Merge pull request #33981 from frenzibyte/fix-tablet-faq-link
Fix tablet troubleshooting page linked incorrectly and not linked on macOS
2 parents 0e39e05 + de61f85 commit b1435d3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

osu.Game/Overlays/Settings/Sections/Input/TabletSettings.cs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
using System.Collections.Generic;
77
using System.Linq;
8-
using osu.Framework;
98
using osu.Framework.Allocation;
109
using osu.Framework.Bindables;
1110
using osu.Framework.Graphics;
@@ -113,15 +112,12 @@ private void load(OsuColour colours, LocalisationManager localisation)
113112
AutoSizeAxes = Axes.Y,
114113
}.With(t =>
115114
{
116-
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows || RuntimeInfo.OS == RuntimeInfo.Platform.Linux)
117-
{
118-
t.NewLine();
119-
var formattedSource = MessageFormatter.FormatText(localisation.GetLocalisedString(TabletSettingsStrings.NoTabletDetectedDescription(
120-
RuntimeInfo.OS == RuntimeInfo.Platform.Windows
121-
? @"https://opentabletdriver.net/Wiki/FAQ/Windows"
122-
: @"https://opentabletdriver.net/Wiki/FAQ/Linux")));
123-
t.AddLinks(formattedSource.Text, formattedSource.Links);
124-
}
115+
t.NewLine();
116+
117+
const string url = @"https://opentabletdriver.net/Wiki/FAQ/General";
118+
var formattedSource = MessageFormatter.FormatText(localisation.GetLocalisedString(TabletSettingsStrings.NoTabletDetectedDescription(url)));
119+
120+
t.AddLinks(formattedSource.Text, formattedSource.Links);
125121
}),
126122
}
127123
},

0 commit comments

Comments
 (0)