Commit 4258ca6a authored by Anon's avatar Anon
Browse files

MainFragment: Use different pairing button label when connected.

parent aec0ac31
......@@ -76,6 +76,7 @@ class MainFragment : Fragment() {
private fun showConnectedView(view: View) {
view.findViewById<ConstraintLayout>(R.id.container_connected).visibility = View.VISIBLE
view.findViewById<ConstraintLayout>(R.id.container_disconnected).visibility = View.GONE
view.findViewById<Button>(R.id.button_pair).text = getString(R.string.main_button_manage_pairings)
}
private fun showDisconnectedView(view: View) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment