Skip to content

Commit 76154ef

Browse files
committed
fix: app name mixed
1 parent e6ce534 commit 76154ef

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

Xorg/src/main/res/values-zh/strings.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<string name="app_name">XServer XSDL - NeoTerm</string>
4-
5-
63
<string name="init">初始化中</string>
74
<string name="please_wait">正在下载数据,请稍候</string>
85

Xorg/src/main/res/values/strings.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
<resources
33
xmlns:tools="http://schemas.android.com/tools"
44
tools:ignore="MissingTranslation">
5-
<string name="app_name">XServer XSDL - NeoTerm</string>
6-
7-
85
<string name="init">Initializing</string>
96
<string name="please_wait">Please wait while data is being downloaded</string>
107

app/src/main/java/io/neoterm/ui/setup/SetupActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ class SetupActivity : AppCompatActivity(), View.OnClickListener, ResultListener
136136
when (id) {
137137
R.id.setup_method_backup,
138138
R.id.setup_method_local -> {
139-
val intent = Intent(Intent.ACTION_VIEW)
139+
val intent = Intent(Intent.ACTION_GET_CONTENT)
140+
intent.type = "*/*";
140141
try {
141142
startActivityForResult(intent, REQUEST_SELECT_PARAMETER)
142143
} catch (ignore: ActivityNotFoundException) {

0 commit comments

Comments
 (0)