0
0
mirror of https://github.com/florisboard/florisboard.git synced 2024-09-20 03:52:18 +02:00

Fix NPE due to incorrect variable usage in restore screen (#1567)

This commit is contained in:
Patrick Goldinger 2022-02-13 15:06:09 +01:00
parent cef0f2b53d
commit b5b82836bc

View File

@ -297,7 +297,7 @@ fun RestoreScreen() = FlorisScreen {
.background(LocalContentColor.current.copy(alpha = LocalContentAlpha.current))
)
Text(
text = stringRes(workspace.restoreErrorId!!),
text = stringRes(workspace.restoreWarningId!!),
style = MaterialTheme.typography.body2,
color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current),
fontStyle = FontStyle.Italic,