Skip to content

Commit 07d3c48

Browse files
committed
Resolve merge conflict
1 parent 03171a7 commit 07d3c48

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecMediaSpan.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import android.graphics.drawable.Drawable
88
import android.view.Gravity
99
import org.wordpress.aztec.AztecAttributes
1010
import org.wordpress.aztec.AztecText
11-
import org.wordpress.aztec.AztecText.OnImageTappedListener
1211
import java.util.*
1312

1413
abstract class AztecMediaSpan(context: Context, drawable: Drawable?, override var attributes: AztecAttributes = AztecAttributes(),

aztec/src/main/kotlin/org/wordpress/aztec/toolbar/AztecToolbar.kt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -514,19 +514,6 @@ class AztecToolbar : FrameLayout, OnMenuItemClickListener {
514514
}
515515
}
516516

517-
fun getSelectedHeadingMenuItem(): TextFormat? {
518-
if (headingMenu?.menu?.getItem(0)?.isChecked!!) return TextFormat.FORMAT_PARAGRAPH
519-
else if (headingMenu?.menu?.getItem(1)?.isChecked!!) return TextFormat.FORMAT_HEADING_1
520-
else if (headingMenu?.menu?.getItem(2)?.isChecked!!) return TextFormat.FORMAT_HEADING_2
521-
else if (headingMenu?.menu?.getItem(3)?.isChecked!!) return TextFormat.FORMAT_HEADING_3
522-
else if (headingMenu?.menu?.getItem(4)?.isChecked!!) return TextFormat.FORMAT_HEADING_4
523-
else if (headingMenu?.menu?.getItem(5)?.isChecked!!) return TextFormat.FORMAT_HEADING_5
524-
else if (headingMenu?.menu?.getItem(6)?.isChecked!!) return TextFormat.FORMAT_HEADING_6
525-
// TODO: Uncomment when Preformat is to be added back as a feature
526-
// else if (headingMenu?.menu?.getItem(7)?.isChecked!!) return TextFormat.FORMAT_PREFORMAT
527-
return null
528-
}
529-
530517
private fun toggleHtmlMode(isHtmlMode: Boolean) {
531518
ToolbarAction.values().forEach { action ->
532519
if (action == ToolbarAction.HTML) {

0 commit comments

Comments
 (0)