Skip to content

Commit

Permalink
优化:发送通道的Bark的消息链接取消限制 #290
Browse files Browse the repository at this point in the history
  • Loading branch information
pppscn committed May 7, 2023
1 parent fb98b21 commit 1d5f538
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_senders_bark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1d5f538

Please sign in to comment.