Commit 048219a7 authored by Mygod's avatar Mygod

Remove screen_name resource

parent b4d3103b
......@@ -2,7 +2,6 @@
<resources>
<string name="app_name">Shadowsocks</string>
<string name="screen_name" translatable="false">shadowsocks</string>
<!-- global/misc category -->
<string name="misc_cat">Misc</string>
......
......@@ -357,7 +357,7 @@ class Shadowsocks extends AppCompatActivity with ServiceBoundContext {
setContentView(R.layout.layout_main)
// Initialize Toolbar
val toolbar = findViewById(R.id.toolbar).asInstanceOf[Toolbar]
toolbar.setTitle(getString(R.string.screen_name))
toolbar.setTitle("shadowsocks") // non-translatable logo
toolbar.setTitleTextAppearance(toolbar.getContext, R.style.Toolbar_Logo)
val field = classOf[Toolbar].getDeclaredField("mTitleTextView")
field.setAccessible(true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment