From ac6e9eca34d130f065ae47a0df8d722164fa9748 Mon Sep 17 00:00:00 2001
From: 135e2 <135e2@135e2.tk>
Date: Sat, 13 Aug 2022 22:46:12 +0800
Subject: chore: use snackbar to notify updateBackgroundImageURL event

---
 src/App.vue | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 0641b2a..a1960eb 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -54,7 +54,14 @@
           v-else-if="atSettings"
           @update-title-size="updateTitleSize"
           @update-content-size="updateContentSize"
-          @update-background-image-u-r-l="updateBackgroundImageURL"
+          @update-background-image-u-r-l="
+            (s) => {
+              updateBackgroundImageURL(s);
+              setSnackbarText(
+                s ? `BackgroundImage set to ${s}.` : `backgroundImage reset.`
+              );
+            }
+          "
           :realTitleSize="parseInt(titleSize)"
           :realContentSize="contentSize"
         />
-- 
cgit v1.2.3

