Skip to content

Commit

Permalink
Remove MyDataStore.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
S-H-Y-A committed Feb 6, 2022
1 parent 93cdf6b commit e71056e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import com.chargemap.compose.numberpicker.NumberPicker
import com.s_h_y_a.kotlindatastore.compose.collectAsMutableState
import com.s_h_y_a.kotlindatastoresample.R
import com.s_h_y_a.kotlindatastoresample.datastore.AccountPref
import com.s_h_y_a.kotlindatastoresample.datastore.MyDataStore
import com.s_h_y_a.kotlindatastoresample.model.Sex

@Composable
Expand Down Expand Up @@ -93,7 +92,7 @@ fun NameTextField() {
@Composable
fun SexSelector() {
var expanded by remember { mutableStateOf(false) }
var selected by MyDataStore.sex.collectAsMutableState()
var selected by AccountPref.sex.collectAsMutableState()
val context = LocalContext.current

Row(verticalAlignment = Alignment.CenterVertically) {
Expand Down

0 comments on commit e71056e

Please sign in to comment.