mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 17:14:33 -04:00
fix crashlytics bug - exposed because UIState lifecycle is different than activity
This commit is contained in:
1 parent
4d75e7e882
commit
e2ceaf3a2d
1 file changed
+1
@@ -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