@@ -144,26 +144,26 @@ class _AlbumPrivacyPageState extends State<AlbumPrivacyPage> {
144144 padding: const EdgeInsets .symmetric (
145145 vertical: 8.0 ,
146146 ),
147- child: Column (
148- children : [
149- RadioListTile < AlbumStatus >(
150- value : AlbumStatus .public,
151- groupValue : _selectedMode,
152- activeColor : Theme . of (context).colorScheme.secondary,
153- title : Text (appStrings.categoryPrivacyMode_public) ,
154- subtitle : Text (appStrings.categoryPrivacyMode_publicMessage) ,
155- onChanged : _onChangeMode ,
156- ),
157- RadioListTile (
158- value : AlbumStatus .private,
159- groupValue : _selectedMode ,
160- activeColor: Theme .of (context).colorScheme.secondary,
161- title: Text (appStrings.categoryPrivacyMode_private),
162- subtitle: Text (appStrings.categoryPrivacyMode_privateMessage),
163- onChanged : _onChangeMode ,
164- ) ,
165- ],
166- ),
147+ child: RadioGroup < AlbumStatus > (
148+ onChanged : _onChangeMode,
149+ groupValue : _selectedMode,
150+ child : Column (
151+ children : [
152+ RadioListTile < AlbumStatus >(
153+ value : AlbumStatus .public ,
154+ activeColor : Theme . of (context).colorScheme.secondary ,
155+ title : Text (appStrings.categoryPrivacyMode_public) ,
156+ subtitle : Text (appStrings.categoryPrivacyMode_publicMessage ),
157+ ),
158+ RadioListTile (
159+ value : AlbumStatus .private ,
160+ activeColor: Theme .of (context).colorScheme.secondary,
161+ title: Text (appStrings.categoryPrivacyMode_private),
162+ subtitle: Text (appStrings.categoryPrivacyMode_privateMessage),
163+ ) ,
164+ ] ,
165+ )
166+ )
167167 ),
168168 AnimatedSize (
169169 duration: const Duration (milliseconds: 300 ),
0 commit comments