mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-06-14 16:44:33 +12:00
lawnmower
This commit is contained in:
parent
cd5931be16
commit
dc7dc667a2
|
@ -101,7 +101,7 @@ class DetailActivity : AppCompatActivity(), ActionMode.Callback, NotificationFra
|
|||
val url2 = urlWithoutProto[:lastSlashIndex]
|
||||
|
||||
val baseUrl = if (secure) "https://${url2}" else "http://${url2}"
|
||||
val topic = url.pathSegments.first()
|
||||
val topic = urlWithoutProto[lastSlashIndex:]
|
||||
title = topicShortUrl(baseUrl, topic)
|
||||
|
||||
// Subscribe to topic if it doesn't already exist
|
||||
|
|
Loading…
Reference in a new issue