Fix: method name typo
This commit is contained in:
parent
748b702180
commit
38504366c6
@ -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)?) {
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user