null safety
This commit is contained in:
@@ -76,9 +76,9 @@ class _ProfileCurrencyEditState extends State<ProfileCurrencyEdit> {
|
||||
activeColor: primaryColor,
|
||||
value: Currency.USD,
|
||||
groupValue: _currency,
|
||||
onChanged: (Currency value) {
|
||||
onChanged: (Currency? value) {
|
||||
setState(() {
|
||||
_currency = value;
|
||||
_currency = value!;
|
||||
});
|
||||
},
|
||||
),
|
||||
@@ -94,9 +94,9 @@ class _ProfileCurrencyEditState extends State<ProfileCurrencyEdit> {
|
||||
activeColor: primaryColor,
|
||||
value: Currency.MMK,
|
||||
groupValue: _currency,
|
||||
onChanged: (Currency value) {
|
||||
onChanged: (Currency? value) {
|
||||
setState(() {
|
||||
_currency = value;
|
||||
_currency = value!;
|
||||
});
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user