Do not retrieve the version on each recomposition

This commit is contained in:
Benoit Marty
2026-01-16 15:47:34 +01:00
parent 23d3066a38
commit b89e165dd6

View File

@@ -139,7 +139,7 @@ class PreferencesRootPresenter(
return PreferencesRootState(
myUser = matrixUser.value,
version = versionFormatter.get(),
version = remember { versionFormatter.get() },
deviceId = matrixClient.deviceId,
isMultiAccountEnabled = isMultiAccountEnabled,
otherSessions = otherSessions,