Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class UserSettingViewModel @Inject constructor(val fhirEngine: FhirEngine, val syncBroadcaster: SyncBroadcaster, val accountAuthenticator: AccountAuthenticator, val secureSharedPreference: SecureSharedPreference, val sharedPreferencesHelper: SharedPreferencesHelper, val configurationRegistry: ConfigurationRegistry, val workManager: WorkManager, val dispatcherProvider: DispatcherProvider, preferenceDataStore: PreferenceDataStore) : ViewModel
Properties
Functions
Link copied to clipboard
fun ConfirmClearDatabaseDialog(permanentResetDatabase: () -> Unit, onDismissDialog: () -> Unit, modifier: Modifier = Modifier)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun UserSettingInsightScreen(fullName: String?, team: String?, locality: String?, userName: String?, organization: String?, careTeam: String?, location: String?, appVersionCode: String, appVersion: String, buildDate: String, dividerColor: Color = DividerColor, unsyncedResourcesFlow: MutableSharedFlow<List<Pair<String, Int>>>, navController: NavController, onRefreshRequest: () -> Unit, dateFormat: String = DEFAULT_FORMAT_SDF_DD_MM_YYYY)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun UserSettingRow(icon: ImageVector, text: String, clickListener: () -> Unit, modifier: Modifier = Modifier, canSwitchToScreen: Boolean = false, iconTint: Color = GreyTextColor, textColor: Color = LoginDarkColor, showProgressIndicator: Boolean = false)
Link copied to clipboard
fun UserSettingScreen(appTitle: String?, modifier: Modifier = Modifier, username: String?, practitionerLocation: String?, fullname: String?, selectedLanguage: String, languages: List<Language>, progressBarState: Pair<Boolean, Int>, isDebugVariant: Boolean = false, onEvent: (UserSettingsEvent) -> Unit, mainNavController: NavController, appVersionPair: Pair<Int, String>? = null, dataMigrationVersion: String, lastSyncTime: String?, showProgressIndicatorFlow: MutableStateFlow<Boolean>, enableManualSync: Boolean, allowSwitchingLanguages: Boolean, showDatabaseResetConfirmation: Boolean, enableAppInsights: Boolean, showOfflineMaps: Boolean = false, allowP2PSync: Boolean = false, enableHelpContacts: Boolean = false)