Release: v1.0

This commit is contained in:
zt515 2017-06-15 16:01:46 +08:00
parent b802703c52
commit 718ead6834
4 changed files with 4 additions and 4 deletions

View File

@ -50,6 +50,7 @@ class NeoTermActivity : AppCompatActivity(), ServiceConnection {
var resultListener: BaseFileInstaller.ResultListener? = null
resultListener = BaseFileInstaller.ResultListener { error ->
if (error == null) {
initShortcutKeys()
systemShell = false
if (!termService!!.sessions.isEmpty()) {
for (session in termService!!.sessions) {
@ -83,7 +84,6 @@ class NeoTermActivity : AppCompatActivity(), ServiceConnection {
NeoPermission.initAppPermission(this, NeoPermission.REQUEST_APP_PERMISSION)
NeoTermPreference.init(this)
initShortcutKeys()
if (NeoTermPreference.loadBoolean(R.string.key_ui_fullscreen, false)) {
window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,

View File

@ -20,7 +20,7 @@
<string name="pref_ui_color_scheme">配色方案</string>
<string name="pref_ui_font">字体</string>
<string name="pref_ui_fullscreen">全屏</string>
<string name="pref_ui_suggestions">显示建议 (需要 zsh)</string>
<string name="pref_ui_suggestions">显示建议 (需要 oh-my-zsh)</string>
<string name="pref_ui_suggestions_desc">使用一些软件时,屏幕下方显示快捷键</string>
<string name="settings">设置</string>
<string name="text_selection_more">更多</string>

View File

@ -26,7 +26,7 @@
<string name="pref_ui_color_scheme">Color Scheme</string>
<string name="pref_ui_close_tab_anim_next_tab">Next tab animation</string>
<string name="pref_ui_close_tab_anim_next_tab_desc">Switch to the next tab instead of the previous tab when closing tab</string>
<string name="pref_ui_suggestions">Show Suggestions (zsh required)</string>
<string name="pref_ui_suggestions">Show Suggestions (oh-my-zsh required)</string>
<string name="pref_ui_suggestions_desc">When using some programs, show shortcut keys</string>
<string name="pref_package_source">Source</string>
<string name="toggle_ime">Toggle IME</string>

View File

@ -19,7 +19,7 @@
android:title="@string/pref_general_backspace_map_to_esc" />
<ListPreference
android:defaultValue="0"
android:defaultValue="sh"
android:entries="@array/pref_general_shell_entries"
android:entryValues="@array/pref_general_shell_entries"
android:key="@string/key_general_shell"