Cut the username prefix of url in Nav Header

This commit is contained in:
Niko Diamadis
2023-02-05 12:53:21 +01:00
parent e89627066e
commit 9fec25a8bf
2 changed files with 1 additions and 2 deletions

View File

@@ -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 =

View File

@@ -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>