mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
show connection status in appbar
This commit is contained in:
parent
db0656f7b9
commit
737b98076a
5 changed files with 72 additions and 24 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package com.geeksville.mesh.ui
|
||||
|
||||
import android.content.Intent
|
||||
import android.graphics.drawable.BitmapDrawable
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
|
|
@ -68,9 +67,8 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
|
|||
channelNameEdit.visibility = View.VISIBLE
|
||||
channelNameEdit.setText(channel.name)
|
||||
editableCheckbox.isEnabled = true
|
||||
|
||||
val d = BitmapDrawable(resources, channel.getChannelQR())
|
||||
qrView.setImageDrawable(d)
|
||||
|
||||
qrView.setImageBitmap(channel.getChannelQR())
|
||||
// Share this particular channel if someone clicks share
|
||||
shareButton.setOnClickListener {
|
||||
GeeksvilleApplication.analytics.track(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue