Mark some state data classes as immutable

This commit is contained in:
arkon
2023-07-15 09:54:29 -04:00
parent 22e8050fff
commit 54733e6ceb
3 changed files with 13 additions and 7 deletions
@@ -16,6 +16,7 @@ import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateListOf
@@ -313,6 +314,7 @@ internal class MigrateDialogScreenModel(
)
}
@Immutable
data class State(
val isMigrating: Boolean = false,
)