优化:发送通道的Bark的消息链接取消限制 #290

This commit is contained in:
pppscn 2023-05-07 10:26:06 +08:00
parent fb98b21b1b
commit 1d5f538fd7
3 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,7 @@
android:singleLine="true"
app:met_clearButton="true"
app:met_errorMessage="@string/bark_url_error"
app:met_regexp="@string/bark_url_regex"
app:met_regexp="@string/bark_url_regex2"
app:met_validateOnFocusLost="true" />
</LinearLayout>

View File

@ -726,6 +726,7 @@
<string name="bark_level_timeSensitive">Time-sensitive notifications that can be displayed in a focused state</string>
<string name="bark_level_passive">Only added to the notification list, no screen reminder</string>
<string name="bark_url_regex" formatted="false" tools:ignore="TypographyDashes"><![CDATA[^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]]]></string>
<string name="bark_url_regex2" formatted="false" tools:ignore="TypographyDashes"><![CDATA[^[a-z]+://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]]]></string>
<string name="bark_url_error">Url format error</string>
<string name="bark_key">AES Key</string>
<string name="bark_key_tips">Fill in 16 chars to enable push encryption</string>

View File

@ -727,6 +727,7 @@
<string name="bark_level_timeSensitive">时效性通知,可在专注状态下显示通知</string>
<string name="bark_level_passive">仅添加到通知列表,不会亮屏提醒</string>
<string name="bark_url_regex" formatted="false" tools:ignore="TypographyDashes"><![CDATA[^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]]]></string>
<string name="bark_url_regex2" formatted="false" tools:ignore="TypographyDashes"><![CDATA[^[a-z]+://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]]]></string>
<string name="bark_url_error">Url格式错误</string>
<string name="bark_key">加密密钥</string>
<string name="bark_key_tips">填写16个字符以启用推送加密</string>