fix: app name mixed

This commit is contained in:
imkiva 2018-05-27 12:34:31 +08:00
parent e6ce534434
commit 76154efd35
No known key found for this signature in database
GPG Key ID: A0A40A816B1689AA
3 changed files with 2 additions and 7 deletions

View File

@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">XServer XSDL - NeoTerm</string>
<string name="init">初始化中</string>
<string name="please_wait">正在下载数据,请稍候</string>

View File

@ -2,9 +2,6 @@
<resources
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingTranslation">
<string name="app_name">XServer XSDL - NeoTerm</string>
<string name="init">Initializing</string>
<string name="please_wait">Please wait while data is being downloaded</string>

View File

@ -136,7 +136,8 @@ class SetupActivity : AppCompatActivity(), View.OnClickListener, ResultListener
when (id) {
R.id.setup_method_backup,
R.id.setup_method_local -> {
val intent = Intent(Intent.ACTION_VIEW)
val intent = Intent(Intent.ACTION_GET_CONTENT)
intent.type = "*/*";
try {
startActivityForResult(intent, REQUEST_SELECT_PARAMETER)
} catch (ignore: ActivityNotFoundException) {