Fix: method name typo

This commit is contained in:
zt515 2017-11-01 00:10:15 +08:00
parent 748b702180
commit 38504366c6
2 changed files with 2 additions and 3 deletions

View File

@ -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)?) {

View File

@ -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)