feat: Simplify animations across multiple screens by replacing slide transitions with fade animations for improved user experience

This commit is contained in:
k1ngsterr1
2026-01-18 17:26:04 +05:00
parent 89e5f3cfa2
commit 61995e9286
16 changed files with 506 additions and 399 deletions

View File

@@ -72,7 +72,7 @@ object ProtocolManager {
private fun setupStateMonitoring() {
scope.launch {
getProtocol().state.collect { newState ->
addLog("📊 STATE MONITOR: Connection state changed to $newState")
addLog("📡 STATE CHANGED: $newState")
}
}
}
@@ -202,8 +202,7 @@ object ProtocolManager {
*/
fun getProtocol(): Protocol {
if (protocol == null) {
addLog("Creating new Protocol instance")
addLog("Server: $SERVER_ADDRESS")
addLog("🔌 Creating new Protocol instance for $SERVER_ADDRESS")
protocol = Protocol(SERVER_ADDRESS) { msg -> addLog(msg) }
}
return protocol!!
@@ -225,7 +224,7 @@ object ProtocolManager {
* Connect to server
*/
fun connect() {
addLog("🔌 CONNECT REQUESTED from ProtocolManager")
addLog("🔌 CONNECT REQUESTED - calling Protocol.connect()")
getProtocol().connect()
}
@@ -233,9 +232,7 @@ object ProtocolManager {
* Authenticate with server
*/
fun authenticate(publicKey: String, privateHash: String) {
addLog("🔐 AUTHENTICATE called from ProtocolManager")
addLog(" PublicKey: ${publicKey.take(30)}...")
addLog(" PrivateHash: ${privateHash.take(20)}...")
addLog("🔐 AUTHENTICATE REQUESTED for ${publicKey.take(16)}...")
getProtocol().startHandshake(publicKey, privateHash)
}