|
@@ -241,7 +241,7 @@ fun Settings(navHostController: NavHostController, activity: ComponentActivity)
|
|
|
properties = DialogProperties(),
|
|
|
modifier = Modifier
|
|
|
.fillMaxWidth()
|
|
|
- .height(280.dp)
|
|
|
+ .height(260.dp)
|
|
|
) {
|
|
|
LaunchDialog(
|
|
|
onCancel = {
|
|
@@ -471,35 +471,14 @@ fun ColumnScope.LaunchDialog(
|
|
|
maxLines = 2,
|
|
|
style = MaterialTheme.typography.customTypography.displayLarge,
|
|
|
modifier = Modifier
|
|
|
- .padding(top = 30.dp, start = 25.dp)
|
|
|
- .align(Alignment.Start)
|
|
|
+ .padding(top = 30.dp, start = 0.dp)
|
|
|
)
|
|
|
- Text(text = "Step 1. Press Enable Button",
|
|
|
+ Text(text = "Please enable \"Allow Display Over Other Apps\" permissions to use the Launch on Startup feature",
|
|
|
// color = MaterialTheme.colorScheme.primary,
|
|
|
color = MaterialTheme.colorScheme.primary,
|
|
|
style = MaterialTheme.typography.labelMedium,
|
|
|
- maxLines = 1,
|
|
|
- modifier = Modifier
|
|
|
- .padding(top = 25.dp, start = 25.dp)
|
|
|
- .align(Alignment.Start)
|
|
|
- )
|
|
|
- Text(text = "Step 2. Search FastestVPN",
|
|
|
-// color = MaterialTheme.colorScheme.primary,
|
|
|
- color = MaterialTheme.colorScheme.primary,
|
|
|
- style = MaterialTheme.typography.labelMedium,
|
|
|
- maxLines = 1,
|
|
|
- modifier = Modifier
|
|
|
- .padding(top = 15.dp, start = 25.dp)
|
|
|
- .align(Alignment.Start)
|
|
|
- )
|
|
|
- Text(text = "Step 3. Allow Permission",
|
|
|
-// color = MaterialTheme.colorScheme.primary,
|
|
|
- color = MaterialTheme.colorScheme.primary,
|
|
|
- style = MaterialTheme.typography.labelMedium,
|
|
|
- maxLines = 1,
|
|
|
modifier = Modifier
|
|
|
- .padding(top = 15.dp, start = 25.dp)
|
|
|
- .align(Alignment.Start)
|
|
|
+ .padding(top = 25.dp, start = 15.dp, end = 15.dp)
|
|
|
)
|
|
|
Row (
|
|
|
modifier = Modifier
|