Danny Liu преди 1 година
родител
ревизия
8a7075c3bf
променени са 2 файла, в които са добавени 8 реда и са изтрити 4 реда
  1. 3 1
      src/lib/components/chat/Settings/Account.svelte
  2. 5 3
      src/routes/auth/+page.svelte

+ 3 - 1
src/lib/components/chat/Settings/Account.svelte

@@ -152,7 +152,9 @@
 							profileImageUrl = generateInitialsImage(name);
 						} else {
 							toast.info(
-								$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
+								$i18n.t(
+									'Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'
+								),
 								{
 									autoClose: 1000 * 10
 								}

+ 5 - 3
src/routes/auth/+page.svelte

@@ -45,10 +45,12 @@
 
 		if (!canvasPixelTest()) {
 			toast.info(
-				$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
+				$i18n.t(
+					'Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'
+				),
 				{
-					position: "bottom-center",
-					autoClose: 1000 * 10,
+					position: 'bottom-center',
+					autoClose: 1000 * 10
 				}
 			);
 		}