Add ui test on AdvancedSettingsView.
This commit is contained in:
parent
4f03486675
commit
06d80ee497
2 changed files with 147 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ fun aAdvancedSettingsState(
|
|||
currentPushDistributor: AsyncAction<String> = AsyncAction.Success("Firebase"),
|
||||
availablePushDistributors: List<String> = listOf("Firebase", "ntfy"),
|
||||
showChangePushProviderDialog: Boolean = false,
|
||||
eventSink: (AdvancedSettingsEvents) -> Unit = {},
|
||||
) = AdvancedSettingsState(
|
||||
isDeveloperModeEnabled = isDeveloperModeEnabled,
|
||||
isSharePresenceEnabled = isSendPublicReadReceiptsEnabled,
|
||||
|
|
@ -49,5 +50,5 @@ fun aAdvancedSettingsState(
|
|||
currentPushDistributor = currentPushDistributor,
|
||||
availablePushDistributors = availablePushDistributors.toImmutableList(),
|
||||
showChangePushProviderDialog = showChangePushProviderDialog,
|
||||
eventSink = {}
|
||||
eventSink = eventSink
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue