And now the compiler is shouting at me that it cannot find a reference on this line: `import androidx.datastore.preferences.core.edit`, and all I did was to update DataStore from 1.1.4 to 1.1.5.
Phew... going back down to 1.1.4 did help.
I cannot see anything in the release notes for 1.1.5 (or 1.1.4) that would explain that.