mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix lint warnings
This commit is contained in:
parent
64cfa8675a
commit
3ec0c5fd32
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ fun getInitials(nameIn: String): String {
|
|||
return initials.take(nchars)
|
||||
}
|
||||
|
||||
class UIViewModel(app: Application) : AndroidViewModel(app), Logging {
|
||||
class UIViewModel(private val app: Application) : AndroidViewModel(app), Logging {
|
||||
|
||||
private val repository: PacketRepository
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ class UIViewModel(app: Application) : AndroidViewModel(app), Logging {
|
|||
context.getSharedPreferences("ui-prefs", Context.MODE_PRIVATE)
|
||||
}
|
||||
|
||||
private val context = app.applicationContext
|
||||
private val context: Context get() = app.applicationContext
|
||||
|
||||
var actionBarMenu: Menu? = null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue