Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/scopes/Feature__About.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions features/about/fdroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@ android {
dependencies {
implementation(projects.features.about)
implementation(projects.ui.resources)

implementation(libs.androidx.core.ktx)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import io.gromif.astracrypt.resources.R
import io.gromif.astracrypt.settings.about.model.Link
import io.gromif.astracrypt.settings.about.model.Params
import io.gromif.astracrypt.settings.about.shared.PredefinedLinks

@Composable
Expand Down
6 changes: 0 additions & 6 deletions features/about/google-play/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@ android {
dependencies {
implementation(projects.features.about)
implementation(projects.ui.resources)

implementation(libs.androidx.core.ktx)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import io.gromif.astracrypt.resources.R
import io.gromif.astracrypt.settings.about.model.Link
import io.gromif.astracrypt.settings.about.model.Params
import io.gromif.astracrypt.settings.about.shared.PredefinedLinks

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.tooling.preview.Preview
import io.gromif.astracrypt.settings.about.extensions.start
import io.gromif.astracrypt.settings.about.model.Link
import io.gromif.astracrypt.settings.about.model.Params
import kotlinx.coroutines.CoroutineScope

@Preview(showBackground = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import androidx.compose.ui.tooling.preview.Preview
import io.gromif.astracrypt.resources.R
import io.gromif.astracrypt.settings.about.list.LinkList
import io.gromif.astracrypt.settings.about.model.Link
import io.gromif.astracrypt.settings.about.model.Params
import io.gromif.astracrypt.settings.about.shared.CardLinkList
import io.gromif.astracrypt.settings.about.shared.Header
import io.gromif.ui.compose.core.PreferencesGroup
import io.gromif.ui.compose.core.PreferencesScreen

@Preview(showBackground = true)
@Composable
fun Screen(
internal fun Screen(
params: Params = Params(),
onLinkClick: (Link) -> Unit = {},
) = PreferencesScreen {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.gromif.astracrypt.settings.about
package io.gromif.astracrypt.settings.about.model

import io.gromif.astracrypt.settings.about.list.FakeData
import io.gromif.astracrypt.settings.about.model.Link

data class Params(
val version: String = "<VERSION>",
Expand Down