From a89b4798ed391e9ef8ca5d89d4cbf304f7116b5a Mon Sep 17 00:00:00 2001
From: Vespura <31419184+TomGrobbe@users.noreply.github.com>
Date: Wed, 30 May 2018 20:02:33 +0200
Subject: [PATCH] notification: changed notifications to blink by default
---
vMenu/Notification.cs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/vMenu/Notification.cs b/vMenu/Notification.cs
index fe945b79..a2da747f 100644
--- a/vMenu/Notification.cs
+++ b/vMenu/Notification.cs
@@ -110,7 +110,7 @@ public static class Notify
/// Message to display.
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
- public static void Custom(string message, bool blink = false, bool saveToBrief = true)
+ public static void Custom(string message, bool blink = true, bool saveToBrief = true)
{
SetNotificationTextEntry("THREESTRINGS");
string[] messages = MainMenu.Cf.StringToArray(message);
@@ -131,7 +131,7 @@ public static void Custom(string message, bool blink = false, bool saveToBrief =
/// The message to be displayed on the notification.
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
- public static void Alert(string message, bool blink = false, bool saveToBrief = true)
+ public static void Alert(string message, bool blink = true, bool saveToBrief = true)
{
Custom("~y~~h~Alert~h~~s~: " + message, blink, saveToBrief);
}
@@ -143,7 +143,7 @@ public static void Alert(string message, bool blink = false, bool saveToBrief =
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
/// An optional string that will be replaced inside the error message template.
- public static void Alert(CommonErrors errorMessage, bool blink = false, bool saveToBrief = true, string placeholderValue = null)
+ public static void Alert(CommonErrors errorMessage, bool blink = true, bool saveToBrief = true, string placeholderValue = null)
{
string message = ErrorMessage.Get(errorMessage, placeholderValue);
Alert(message, blink, saveToBrief);
@@ -155,7 +155,7 @@ public static void Alert(CommonErrors errorMessage, bool blink = false, bool sav
/// The message to be displayed on the notification.
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
- public static void Error(string message, bool blink = false, bool saveToBrief = true)
+ public static void Error(string message, bool blink = true, bool saveToBrief = true)
{
Custom("~r~~h~Error~h~~s~: " + message, blink, saveToBrief);
}
@@ -167,7 +167,7 @@ public static void Error(string message, bool blink = false, bool saveToBrief =
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
/// An optional string that will be replaced inside the error message template.
- public static void Error(CommonErrors errorMessage, bool blink = false, bool saveToBrief = true, string placeholderValue = null)
+ public static void Error(CommonErrors errorMessage, bool blink = true, bool saveToBrief = true, string placeholderValue = null)
{
string message = ErrorMessage.Get(errorMessage, placeholderValue);
Error(message, blink, saveToBrief);
@@ -179,7 +179,7 @@ public static void Error(CommonErrors errorMessage, bool blink = false, bool sav
/// The message to be displayed on the notification.
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
- public static void Info(string message, bool blink = false, bool saveToBrief = true)
+ public static void Info(string message, bool blink = true, bool saveToBrief = true)
{
Custom("~b~~h~Info~h~~s~: " + message, blink, saveToBrief);
}
@@ -190,7 +190,7 @@ public static void Info(string message, bool blink = false, bool saveToBrief = t
/// The message to be displayed on the notification.
/// Should the notification blink 3 times?
/// Should the notification be logged to the brief (PAUSE menu > INFO > Notifications)?
- public static void Success(string message, bool blink = false, bool saveToBrief = true)
+ public static void Success(string message, bool blink = true, bool saveToBrief = true)
{
Custom("~g~~h~Success~h~~s~: " + message, blink, saveToBrief);
}