Files
2026-04-20 15:14:26 -07:00
..
2025-07-01 19:49:02 -07:00
2026-04-20 15:14:26 -07:00

Shared Assets

This directory contains assets that are shared across different applications in the Synchronicity project.

Files

  • synchronicity-icon.png - The main application icon used by both the Android app and GUI app

Usage

GUI App (Rust/Slint)

The GUI app references this icon directly in rust/gui-app/ui/app_window.slint:

icon: @image-url("../../../assets/synchronicity-icon.png");

Android App

The Android app uses a build task to copy this icon to the appropriate resource directory. The task copySharedAssets in android/app/build.gradle.kts automatically copies the icon from assets/synchronicity-icon.png to android/app/src/main/res/drawable/synchronicity_icon.png during the build process.

Benefits

  • Single source of truth for shared assets
  • Consistent branding across platforms
  • Easier maintenance and updates
  • No asset duplication