diff options
3 files changed, 16 insertions, 5 deletions
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index e74304f..88d0643 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,5 +1,6 @@ <component name="ProjectCodeStyleConfiguration"> <code_scheme name="Project" version="173"> + <option name="FORMATTER_TAGS_ENABLED" value="true" /> <AndroidXmlCodeStyleSettings> <option name="LAYOUT_SETTINGS"> <value> @@ -30,6 +31,9 @@ <MarkdownNavigatorCodeStyleSettings> <option name="RIGHT_MARGIN" value="72" /> </MarkdownNavigatorCodeStyleSettings> + <XML> + <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> + </XML> <codeStyleSettings language="Groovy"> <indentOptions> <option name="CONTINUATION_INDENT_SIZE" value="4" /> @@ -70,7 +74,7 @@ <AND> <NAME>.*:id</NAME> <XML_ATTRIBUTE /> - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> + <XML_NAMESPACE>http://schemas.android.com/apk/res/android\n</XML_NAMESPACE> </AND> </match> </rule> @@ -81,7 +85,7 @@ <AND> <NAME>.*:name</NAME> <XML_ATTRIBUTE /> - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> + <XML_NAMESPACE>http://schemas.android.com/apk/res/android\n</XML_NAMESPACE> </AND> </match> </rule> @@ -126,7 +130,7 @@ <AND> <NAME>.*</NAME> <XML_ATTRIBUTE /> - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> + <XML_NAMESPACE>http://schemas.android.com/apk/res/android\n</XML_NAMESPACE> </AND> </match> <order>ANDROID_ATTRIBUTE_ORDER</order> 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<State, Action, Effect>, singleEventProducer: SingleEventProducer<State, Action, Effect, SingleEvent> ) : BaseFeature<FakeLocationFeature.State, FakeLocationFeature.Action, FakeLocationFeature.Effect, FakeLocationFeature.SingleEvent>( - initialState, actor, reducer, coroutineScope, { message -> Log.d("FakeLocationFeature", message) }, + initialState, + actor, + reducer, + coroutineScope, + { message -> Log.d("FakeLocationFeature", message) }, singleEventProducer ) { sealed class State { |