mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix crashlytics bug - exposed because UIState lifecycle is different than activity
This commit is contained in:
parent
4d75e7e882
commit
e2ceaf3a2d
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
|
||||
val prefs = getSharedPreferences("ui-prefs", Context.MODE_PRIVATE)
|
||||
UIState.ownerName = prefs.getString("owner", "")!!
|
||||
UIState.meshService = null
|
||||
|
||||
// Ensures Bluetooth is available on the device and it is enabled. If not,
|
||||
// displays a dialog requesting user permission to enable Bluetooth.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue