mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Userland: Migrate to String in notification system
This commit is contained in:
parent
f46b393d2d
commit
a7c770268f
10 changed files with 35 additions and 34 deletions
|
@ -15,8 +15,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app = TRY(GUI::Application::create(arguments));
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
StringView title {};
|
||||
StringView message {};
|
||||
String title {};
|
||||
String message {};
|
||||
StringView icon_path {};
|
||||
args_parser.add_positional_argument(title, "Title of the notification", "title");
|
||||
args_parser.add_positional_argument(message, "Message to display in the notification", "message");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue