feat: added backup and restored functionality

This commit is contained in:
2026-06-14 20:21:38 +03:00
parent fba54e0243
commit 52c485af64
6 changed files with 193 additions and 4 deletions
@@ -145,9 +145,22 @@ fun MainPage(
) {
Text("Sync with WearOS")
}
FullWidthButton(
onClick = {
val intent = Intent(context, BackupActivity::class.java)
context.startActivity(intent)
isActionBarShowed = false
}
) {
Text("Backup")
}
FullWidthButton(
onClick = {
uriHandler.openUri("https://github.com/omni-devel/OmniCards")
isActionBarShowed = false
}
) {
Text("Source code")