Add Options in settings

Add License and Readme
Fixed color issues
Update About page
Fixed About button and package
This commit is contained in:
BuildTools
2024-03-21 19:22:49 +01:00
parent 3fc3b58152
commit 1c6c814736
9 changed files with 342 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
package com.schoolapp.cleverclass.ui.theme
package com.schoolapp.cleverclass
import android.os.Bundle
import androidx.activity.ComponentActivity
@@ -25,6 +25,7 @@ import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.schoolapp.cleverclass.ui.theme.CleverClassTheme
class AboutActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
@@ -68,7 +69,7 @@ fun AboutContent(activity: ComponentActivity){
.fillMaxWidth())
{
Spacer(modifier = Modifier.height(16.dp))
Text(text = "This Product is published under the GNU General Public License",
Text(text = "This Product is published under the\nGNU General Public License\nVersion 3, 29 June 2007",
style = MaterialTheme.typography.bodySmall,
modifier = Modifier.padding(start = 16.dp, end = 16.dp))
Spacer(modifier = Modifier.height(32.dp))