From 2d848f9abc20852aa79810a16016ec831db95a15 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Fri, 7 May 2021 18:59:01 +0530 Subject: Reformat code --- .../e/privacycentralapp/features/dashboard/DashboardViewModel.kt | 5 ++++- .../e/privacycentralapp/features/location/FakeLocationFeature.kt | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/foundation/e/privacycentralapp') diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardViewModel.kt b/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardViewModel.kt index 1a3b3df..3aa104e 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardViewModel.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardViewModel.kt @@ -29,7 +29,10 @@ class DashboardViewModel : ViewModel() { val actions = _actions.asSharedFlow() val dashboardFeature: DashboardFeature by lazy { - DashboardFeature.create(DashboardFeature.State.InitialState, coroutineScope = viewModelScope) + DashboardFeature.create( + DashboardFeature.State.InitialState, + coroutineScope = viewModelScope + ) } fun submitAction(action: DashboardFeature.Action) { diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/location/FakeLocationFeature.kt b/app/src/main/java/foundation/e/privacycentralapp/features/location/FakeLocationFeature.kt index 6b00490..a11619a 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/features/location/FakeLocationFeature.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/features/location/FakeLocationFeature.kt @@ -37,7 +37,11 @@ class FakeLocationFeature( actor: Actor, singleEventProducer: SingleEventProducer ) : BaseFeature( - initialState, actor, reducer, coroutineScope, { message -> Log.d("FakeLocationFeature", message) }, + initialState, + actor, + reducer, + coroutineScope, + { message -> Log.d("FakeLocationFeature", message) }, singleEventProducer ) { sealed class State { -- cgit v1.2.1