Cut the username prefix of url in Nav Header
This commit is contained in:
@@ -228,7 +228,7 @@ internal class MessagesActivity :
|
|||||||
user.text = settings.user?.name
|
user.text = settings.user?.name
|
||||||
|
|
||||||
val connection = headerView.findViewById<TextView>(R.id.header_connection)
|
val connection = headerView.findViewById<TextView>(R.id.header_connection)
|
||||||
connection.text = getString(R.string.connection, settings.user?.name, settings.url)
|
connection.text = settings.url
|
||||||
|
|
||||||
val version = headerView.findViewById<TextView>(R.id.header_version)
|
val version = headerView.findViewById<TextView>(R.id.header_version)
|
||||||
version.text =
|
version.text =
|
||||||
|
|||||||
@@ -67,7 +67,6 @@
|
|||||||
<string name="warning">Warning</string>
|
<string name="warning">Warning</string>
|
||||||
<string name="http_warning">Using HTTP is insecure and it\'s recommend to use HTTPS instead. Use your favorite search engine to get more information about this topic.</string>
|
<string name="http_warning">Using HTTP is insecure and it\'s recommend to use HTTPS instead. Use your favorite search engine to get more information about this topic.</string>
|
||||||
<string name="i_understand">I Understand</string>
|
<string name="i_understand">I Understand</string>
|
||||||
<string name="connection">%s@%s</string>
|
|
||||||
<string name="no_messages_yet">There are no messages, yet.\nSend a message to Gotify\nand it will appear here.</string>
|
<string name="no_messages_yet">There are no messages, yet.\nSend a message to Gotify\nand it will appear here.</string>
|
||||||
<string name="title_activity_settings">Settings</string>
|
<string name="title_activity_settings">Settings</string>
|
||||||
<string name="settings_appearance">Appearance</string>
|
<string name="settings_appearance">Appearance</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user