Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Nauber committed Aug 14, 2021
1 parent f50c294 commit f8bf622
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/dev/nauber/esphomerc/ControllerFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import android.view.ViewGroup
import androidx.core.widget.doAfterTextChanged
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.brackeys.ui.editorkit.utils.UndoStack
import com.brackeys.ui.language.javascript.JavaScriptLanguage
import com.blacksquircle.ui.editorkit.utils.UndoStack
import com.blacksquircle.ui.language.javascript.JavaScriptLanguage
import dev.nauber.esphomerc.databinding.FragmentControllerBinding

class ControllerFragment : Fragment() {
Expand All @@ -18,7 +18,7 @@ class ControllerFragment : Fragment() {
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
): View {
binding = FragmentControllerBinding.inflate(inflater, container, false)

val editor = binding.code
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/res/layout/fragment_controller.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!--suppress XmlUnusedNamespaceDeclaration -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
Expand All @@ -16,13 +17,13 @@
android:layout_height="match_parent"
android:layout_weight="1">

<com.brackeys.ui.editorkit.widget.TextProcessor
<com.blacksquircle.ui.editorkit.widget.TextProcessor
android:id="@+id/code"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top|start" />

<com.brackeys.ui.editorkit.widget.TextScroller
<com.blacksquircle.ui.editorkit.widget.TextScroller
android:id="@+id/scroller"
android:layout_width="40dp"
android:layout_height="match_parent"
Expand Down

0 comments on commit f8bf622

Please sign in to comment.