package Ġorg . covid watch . android . ui . menu Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . as LiveData Ċ import Ġandroidx . lifecycle . map Ċ import Ġorg . covid watch . android . data . model . Risk Level Ċ import Ġorg . covid watch . android . data . risk level . Risk Level Repository Ċ import Ġorg . covid watch . android . ui . Base ViewModel Ċ Ċ class ĠMenu ViewModel ( ĊĠĠĠ Ġrisk Level Repository : ĠR isk Level Repository Ċ ) Ġ: ĠBase ViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġ_ high Risk Exposure Ġ= ĊĠĠĠĠĠĠĠ Ġrisk Level Repository . risk Level . as LiveData (). map Ġ{ Ġit Ġ== ĠR isk Level . HIGH Ġ} ĊĊĠĠĠ Ġval Ġhigh Risk Exposure : ĠLive Data < Boolean > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġ_ high Risk Exposure Ċ }