From a3f2175f3cddb56ebf55470065afc78a23178311 Mon Sep 17 00:00:00 2001 From: auth <64337177+authorisation@users.noreply.github.com> Date: Fri, 10 May 2024 00:01:44 +0200 Subject: [PATCH] fix: grammer --- examples/custom_toast.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/custom_toast.js b/examples/custom_toast.js index 56f38bf..1a822cb 100644 --- a/examples/custom_toast.js +++ b/examples/custom_toast.js @@ -1,7 +1,7 @@ // ==SE_module== // name: custom_toast // displayName: Custom Toast -// description: A Script that shows a custom toast on the startup of Snapchat. +// description: A Script that shows a custom toast message on launching Snapchat. // version: 1.0 // author: Gabe Modz & Jacob Thomas // ==/SE_module== @@ -19,12 +19,12 @@ var settingsContext = { events: [], }; -var defaultPrompt = "Type You're Welcome Message"; +var defaultPrompt = "Message"; function createManagerToolBoxUI() { settingsContext.events.push({ start: function (builder) { builder.row(function (builder) { - builder.textInput("Type You're Welcome Message", config.get("customPrompt", defaultPrompt), function (value) { + builder.textInput("Message", config.get("customPrompt", defaultPrompt), function (value) { config.set("customPrompt", value, true); }) .maxLines(8) .singleLine(false); @@ -34,7 +34,7 @@ function createManagerToolBoxUI() { } module.onSnapMainActivityCreate = activity => { - const customPrompt = String(config.get("customPrompt")) || "Type You're Welcome Message"; + const customPrompt = String(config.get("customPrompt")) || "Message"; shortToast(customPrompt); } function createInterface() {