diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/settings/UnencryptedSettingsImpl.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/settings/UnencryptedSettingsImpl.kt
index e7399fc0a8f2b33bb44b583752226ffa541b1670..a3c9afcfd08030c36278dbc9e2a316ec82acc1ad 100644
--- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/settings/UnencryptedSettingsImpl.kt
+++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/settings/UnencryptedSettingsImpl.kt
@@ -55,7 +55,7 @@ class UnencryptedSettingsImpl @Inject internal constructor() : UnencryptedSettin
         onChange = ::updateLocale,
     )
 
-    override var uiScale by FloatEntry(
+    override var uiScale by NullableFloatEntry(
         PREF_UI_SCALE,
         null,
     )
@@ -149,7 +149,7 @@ class UnencryptedSettingsImpl @Inject internal constructor() : UnencryptedSettin
         key, default, deserialize, serialize, onChange
     )
 
-    private class FloatEntry(
+    private class NullableFloatEntry(
         key: String,
         default: Float?,
         deserialize: (string: String?) -> Float? = { it?.toFloatOrNull() },