mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-09-06 18:01:11 +00:00
Rewrite OpenSourcePage to M3 (#755)
Migrated to M3 Signed-off-by: Arnau Mora <arnyminerz@proton.me>
This commit is contained in:
parent
99cf0eca7a
commit
c9fd66bd63
|
@ -15,10 +15,10 @@ import androidx.compose.foundation.layout.height
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.rememberScrollState
|
import androidx.compose.foundation.rememberScrollState
|
||||||
import androidx.compose.foundation.verticalScroll
|
import androidx.compose.foundation.verticalScroll
|
||||||
import androidx.compose.material.Checkbox
|
import androidx.compose.material3.Checkbox
|
||||||
import androidx.compose.material.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material.OutlinedButton
|
import androidx.compose.material3.OutlinedButton
|
||||||
import androidx.compose.material.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
|
@ -126,7 +126,7 @@ class OpenSourcePage : IntroPage {
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(R.string.intro_open_source_dont_show),
|
text = stringResource(R.string.intro_open_source_dont_show),
|
||||||
style = MaterialTheme.typography.body2,
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.clickable { onChangeDontShow(!dontShow) }
|
.clickable { onChangeDontShow(!dontShow) }
|
||||||
.weight(1f)
|
.weight(1f)
|
||||||
|
|
Loading…
Reference in a new issue