Fix compilation errors

This commit is contained in:
Soreepeong 2025-08-04 20:51:10 +09:00
parent 35c98961b6
commit d3f31ddaa7
4 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@ internal static class DataWindowWidgetExtensions
{ {
ImGui.SetClipboardText(s); ImGui.SetClipboardText(s);
Service<NotificationManager>.Get().AddNotification( Service<NotificationManager>.Get().AddNotification(
$"Copied {ImGui.TableGetColumnNameS()} to clipboard.", $"Copied {ImGui.TableGetColumnName()} to clipboard.",
widget.DisplayName, widget.DisplayName,
NotificationType.Success); NotificationType.Success);
} }

View file

@ -233,7 +233,7 @@ internal class DataShareWidget : IDataWindowWidget
{ {
ImGui.SetClipboardText(tooltip?.Invoke() ?? s); ImGui.SetClipboardText(tooltip?.Invoke() ?? s);
Service<NotificationManager>.Get().AddNotification( Service<NotificationManager>.Get().AddNotification(
$"Copied {ImGui.TableGetColumnNameS()} to clipboard.", $"Copied {ImGui.TableGetColumnName()} to clipboard.",
this.DisplayName, this.DisplayName,
NotificationType.Success); NotificationType.Success);
} }

View file

@ -174,7 +174,7 @@ internal class ProfileManagerWidget
{ {
try try
{ {
profman.ImportProfile(ImGui.GetClipboardTextS()); profman.ImportProfile(ImGui.GetClipboardText());
Service<NotificationManager>.Get().AddNotification(Locs.NotificationImportSuccess, type: NotificationType.Success); Service<NotificationManager>.Get().AddNotification(Locs.NotificationImportSuccess, type: NotificationType.Success);
} }
catch (Exception ex) catch (Exception ex)

View file

@ -166,7 +166,7 @@ public class StyleEditorWindow : Window
{ {
this.SaveStyle(); this.SaveStyle();
var styleJson = ImGui.GetClipboardTextS(); var styleJson = ImGui.GetClipboardText();
try try
{ {