diff --git a/app/src/fdroid/res/values/strings.xml b/app/src/fdroid/res/values/strings.xml new file mode 100644 index 0000000..1fe888d --- /dev/null +++ b/app/src/fdroid/res/values/strings.xml @@ -0,0 +1,4 @@ + + GitLab + "https://gitlab.com/sirekanyan.org/outline" + diff --git a/app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt b/app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt index 3df7032..0d7f642 100644 --- a/app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt +++ b/app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt @@ -55,6 +55,12 @@ fun AboutDialogContent(onDismiss: () -> Unit) { append("getoutline.org") pop() } + append("\n\nSource code of this app is open and available on ") + withStyle(SpanStyle(MaterialTheme.colorScheme.primary)) { + pushStringAnnotation("link", stringResource(R.string.outln_source_code_link)) + append(stringResource(R.string.outln_source_code_title)) + pop() + } } val textColor = MaterialTheme.colorScheme.onSurfaceVariant val textStyle = MaterialTheme.typography.bodyMedium.copy(textColor) diff --git a/app/src/play/res/values/strings.xml b/app/src/play/res/values/strings.xml new file mode 100644 index 0000000..1c1fadc --- /dev/null +++ b/app/src/play/res/values/strings.xml @@ -0,0 +1,4 @@ + + GitHub + "https://github.com/sirekanian/outline" +