Skip to content

Commit

Permalink
status info is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed Feb 23, 2024
1 parent 3cdf2b2 commit 0a4c17a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ class ServerFinderFragment : TSFragment() {
setHost()
}

vi.findViewById<TextView>(R.id.tvConnectedHost)?.text = Settings.getHost().removePrefix("http://")
vi.findViewById<TextInputEditText>(R.id.etHost)?.setText(Settings.getHost())
//vi.findViewById<TextView>(R.id.tvConnectedHost)?.text = Settings.getHost().removePrefix("http://")
vi.findViewById<TextInputEditText>(R.id.etHost)?.setText(Settings.getHost().removePrefix("http://"))
return vi
}

Expand Down
42 changes: 21 additions & 21 deletions app/src/main/res/layout/server_finder_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@
tools:text="192.168.177.211, 192.168.131.124" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="6dp"
android:text="@string/connected_host"
android:textSize="16sp" />

<TextView
android:id="@+id/tvConnectedHost"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/colorBright"
android:textSize="16sp"
tools:text="192.168.177.211" />
</LinearLayout>
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="horizontal">-->

<!-- <TextView-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:paddingStart="10dp"-->
<!-- android:paddingEnd="6dp"-->
<!-- android:text="@string/connected_host"-->
<!-- android:textSize="16sp" />-->

<!-- <TextView-->
<!-- android:id="@+id/tvConnectedHost"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:textColor="?attr/colorBright"-->
<!-- android:textSize="16sp"-->
<!-- tools:text="192.168.177.211" />-->
<!-- </LinearLayout>-->

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tvFriendlyName"
Expand Down

0 comments on commit 0a4c17a

Please sign in to comment.