mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-07 14:22:39 -05:00
fix crashlytics bug - exposed because UIState lifecycle is different than activity
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user