File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
aztec/src/main/kotlin/org/wordpress/aztec Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,8 @@ open class Aztec private constructor(val visualEditor: AztecText, val toolbar: A
3232
3333 private constructor (activity: Activity , @IdRes aztecTextId: Int ,
3434 @IdRes sourceTextId: Int , @IdRes toolbarId: Int ,
35- toolbarClickListener: IAztecToolbarClickListener ) : this (activity.findViewById(aztecTextId),
36- activity.findViewById(sourceTextId), activity.findViewById(toolbarId), toolbarClickListener)
37-
35+ toolbarClickListener: IAztecToolbarClickListener ) : this (activity.findViewById(aztecTextId) as AztecText ,
36+ activity.findViewById(sourceTextId) as SourceViewEditText , activity.findViewById(toolbarId) as AztecToolbar , toolbarClickListener)
3837
3938 private constructor (activity: Activity , @IdRes aztecTextId: Int ,
4039 @IdRes toolbarId: Int ,
You can’t perform that action at this time.
0 commit comments