everysync: fix relayType import + announce overload
- Commit
5056c924d55d3a50a442ef8539c7ea454b16dd1b- Author
- vayun-mathur <[email protected]>
- When
- 2026-10-16 23:20 UTC (1 month ago)
- Parents
11b8867
Diff
everysync/src/main/java/com/vayunmathur/everysync/platform/EverySyncViewModel.kt
diff --git a/everysync/src/main/java/com/vayunmathur/everysync/platform/EverySyncViewModel.kt b/everysync/src/main/java/com/vayunmathur/everysync/platform/EverySyncViewModel.ktindex 2eb4dadf91..a52ab04e7f 100644--- a/everysync/src/main/java/com/vayunmathur/everysync/platform/EverySyncViewModel.kt+++ b/everysync/src/main/java/com/vayunmathur/everysync/platform/EverySyncViewModel.kt@@ -18,6 +18,7 @@ import com.vayunmathur.everysync.provider.impl.CH_PULL_TRANSPORT import com.vayunmathur.everysync.provider.impl.CH_RELAY_UNAVAILABLE import com.vayunmathur.everysync.provider.impl.CH_UNDECRYPTABLE_LOG import com.vayunmathur.everysync.provider.impl.E2eeProvider+import com.vayunmathur.everysync.provider.impl.E2eeProvider.Companion.relayType import com.vayunmathur.everysync.sync.SnapshotStore import com.vayunmathur.everysync.sync.SnapshotStore.SnapshotMeta import com.vayunmathur.everysync.sync.SyncScheduler@@ -239,4 +240,8 @@ class EverySyncViewModel(app: Application) : AndroidViewModel(app) { fun announce(messageRes: Int) { AppMessages.show(getApplication<Application>().getString(messageRes)) }++ fun announce(message: String) {+ AppMessages.show(message)+ } }