From 38504366c6ef9d51029b35de233db5e580832eed Mon Sep 17 00:00:00 2001 From: zt515 Date: Wed, 1 Nov 2017 00:10:15 +0800 Subject: [PATCH] Fix: method name typo --- app/src/main/java/io/neoterm/App.kt | 3 +-- app/src/main/java/io/neoterm/component/NeoInitializer.kt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/neoterm/App.kt b/app/src/main/java/io/neoterm/App.kt index 393ab6e..f2ddafa 100644 --- a/app/src/main/java/io/neoterm/App.kt +++ b/app/src/main/java/io/neoterm/App.kt @@ -6,7 +6,6 @@ import android.content.Context import android.content.Intent import android.net.Uri import io.neoterm.component.NeoInitializer -import io.neoterm.frontend.logging.NLog import io.neoterm.frontend.preference.NeoPreference import io.neoterm.utils.CrashHandler @@ -19,7 +18,7 @@ class App : Application() { app = this NeoPreference.init(this) CrashHandler.init() - NeoInitializer.initialize(this) + NeoInitializer.init(this) } fun errorDialog(context: Context, message: Int, dismissCallback: (() -> Unit)?) { diff --git a/app/src/main/java/io/neoterm/component/NeoInitializer.kt b/app/src/main/java/io/neoterm/component/NeoInitializer.kt index 062c297..1a99c9e 100644 --- a/app/src/main/java/io/neoterm/component/NeoInitializer.kt +++ b/app/src/main/java/io/neoterm/component/NeoInitializer.kt @@ -16,7 +16,7 @@ import io.neoterm.frontend.component.ComponentManager * @author kiva */ object NeoInitializer { - fun initialize(context: Context) { + fun init(context: Context) { NLog.init(context) ComponentManager.registerComponent(ConfigureComponent::class.java) ComponentManager.registerComponent(CodeGenComponent::class.java)