Skip to content

Commit

Permalink
Show FloatingActionButton on power on
Browse files Browse the repository at this point in the history
  • Loading branch information
lvaccaro committed Feb 11, 2020
1 parent 2df126f commit b83620d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/lvaccaro/lamp/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class MainActivity : AppCompatActivity() {
runOnUiThread {
powerImageView.on()
findViewById<ImageView>(R.id.arrowImageView).visibility = View.VISIBLE
findViewById<FloatingActionButton>(R.id.floating_action_button).visibility = View.VISIBLE
findViewById<FloatingActionButton>(R.id.floating_action_button).show()
findViewById<TextView>(R.id.textViewQr).apply {
text = txt
visibility = View.VISIBLE
Expand Down

0 comments on commit b83620d

Please sign in to comment.