Show "remote profile" message. (#873)
* Show "remote profile" message. Closes #806 * Improve remote message look
This commit is contained in:
parent
a0988dc6c6
commit
6051ffe0b3
6 changed files with 30 additions and 10 deletions
|
|
@ -11,9 +11,5 @@ fun View.hide() {
|
|||
}
|
||||
|
||||
fun View.visible(visible: Boolean) {
|
||||
this.visibility = if(visible) {
|
||||
View.VISIBLE
|
||||
} else {
|
||||
View.GONE
|
||||
}
|
||||
this.visibility = if (visible) View.VISIBLE else View.GONE
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue