feat(Notifications): Added push_success function (#1340)

This commit is contained in:
Rxann
2023-06-05 15:46:20 -04:00
committed by GitHub
parent afca330766
commit 56d9d39b71
16 changed files with 36 additions and 27 deletions

View File

@ -105,7 +105,7 @@ namespace big
if (ImGui::Selectable(driving_style_names[i], g.vehicle.auto_drive_style == (AutoDriveStyle)i))
{
g.vehicle.auto_drive_style = (AutoDriveStyle)i;
g_notification_service->push_warning("AUTO_DRIVE"_T.data(),
g_notification_service->push_success("AUTO_DRIVE"_T.data(),
std::vformat("DRIVING_STYLE_SET_TO"_T.data(), std::make_format_args(driving_style_names[i])));
}