@@ -35,7 +35,7 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
3535 Dialog (onDismissRequest = { onDismiss() }) {
3636 Card (
3737 shape = RoundedCornerShape (24 .dp),
38- colors = CardDefaults .cardColors(containerColor = MaterialTheme .colorScheme.surface) ,
38+ colors = CardDefaults .cardColors(containerColor = MaterialTheme .colorScheme.surface),
3939 modifier = Modifier
4040 .fillMaxWidth()
4141 .padding(16 .dp)
@@ -49,7 +49,7 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
4949 horizontalAlignment = Alignment .CenterHorizontally ,
5050 verticalArrangement = Arrangement .spacedBy(8 .dp),
5151
52- ) {
52+ ) {
5353 Column (horizontalAlignment = Alignment .CenterHorizontally ) {
5454 Text (
5555 text = " Donate to Trease" ,
@@ -66,15 +66,16 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
6666 Spacer (Modifier .size(8 .dp))
6767
6868
69- Text (" I’m Nethical, the 17-year-old developer behind Digipaws, Questphone, and Trease.\n " +
70- " \n " +
71- " I was tired of seeing essential tools locked behind greedy paywalls, so I built these free, open-source alternatives to empower masses.\n " +
72- " \n " +
73- " Your support keeps me independent and ensures this software stays free forever.\n " +
74- " \n " +
75- " Support via: PayPal • Patreon • Crypto • Card (GitHub Sponsers) • UPI" ,
69+ Text (
70+ " I’m Nethical, the 17-year-old developer behind Digipaws, Questphone, and Trease.\n " +
71+ " \n " +
72+ " I was tired of seeing essential tools locked behind greedy paywalls, so I built these free, open-source alternatives to empower masses.\n " +
73+ " \n " +
74+ " Your support keeps me independent and ensures this software stays free forever.\n " +
75+ " \n " +
76+ " Support via: PayPal • Patreon • Crypto • Card (GitHub Sponsers) • UPI" ,
7677 textAlign = TextAlign .Center ,
77- )
78+ )
7879 Button (
7980 onClick = { uriHandler.openUri(" https://digipaws.life/donate" ) },
8081 modifier = Modifier .fillMaxWidth(),
@@ -90,7 +91,7 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
9091 style = MaterialTheme .typography.titleMedium,
9192 textAlign = TextAlign .Center ,
9293
93- )
94+ )
9495 }
9596
9697 Button (
@@ -108,7 +109,7 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
108109 style = MaterialTheme .typography.titleMedium,
109110 textAlign = TextAlign .Center ,
110111
111- )
112+ )
112113 }
113114
114115 Spacer (Modifier .size(8 .dp))
@@ -119,7 +120,7 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
119120 style = MaterialTheme .typography.titleMedium,
120121 textAlign = TextAlign .Center ,
121122
122- )
123+ )
123124 OutlinedButton (
124125 onClick = { uriHandler.openUri(" https://github.com/Trease-Focus/trease-artwork" ) },
125126 modifier = Modifier .fillMaxWidth(),
@@ -135,9 +136,28 @@ fun AppInfoDialog(onDismiss: () -> Unit) {
135136 style = MaterialTheme .typography.titleMedium,
136137 textAlign = TextAlign .Center ,
137138
139+ )
140+
141+
142+ }
143+ OutlinedButton (
144+ onClick = { uriHandler.openUri(" https://github.com/Trease-Focus/trease-app/releases" ) },
145+ modifier = Modifier .fillMaxWidth(),
146+ shape = RoundedCornerShape (12 .dp),
147+ colors = ButtonDefaults .buttonColors(
148+ containerColor = MaterialTheme .colorScheme.primary,
149+ contentColor = MaterialTheme .colorScheme.onPrimary
138150 )
151+ ) {
152+ Text (
153+ text = " Download Android and Desktop Variant" ,
154+ modifier = Modifier .padding(vertical = 6 .dp),
155+ style = MaterialTheme .typography.titleMedium,
156+ textAlign = TextAlign .Center ,
157+
158+ )
139159 }
140160 }
141161 }
142162 }
143- }
163+ }
0 commit comments