style: verbleibende flutter-analyze Deprecations beheben
withOpacity/activeColor/cacheExtent/PublicRoomsChunk durch die neuen Flutter-3.44-Äquivalente ersetzt.
This commit is contained in:
@@ -40,7 +40,7 @@ class _CreateJoinDialogState extends ConsumerState<CreateJoinDialog> {
|
||||
// Discover
|
||||
final _discoverServerCtrl = TextEditingController();
|
||||
final _discoverSearchCtrl = TextEditingController();
|
||||
List<PublicRoomsChunk> _publicRooms = [];
|
||||
List<PublishedRoomsChunk> _publicRooms = [];
|
||||
String? _nextBatch;
|
||||
bool _discoverLoading = false;
|
||||
bool _discoverLoadingMore = false;
|
||||
@@ -911,7 +911,7 @@ class _OptionRow extends StatelessWidget {
|
||||
Text(label, style: TextStyle(color: pt.fg, fontSize: 13, fontWeight: FontWeight.w500)),
|
||||
Text(desc, style: TextStyle(color: pt.fgDim, fontSize: 11)),
|
||||
])),
|
||||
Switch(value: value, onChanged: onChanged, activeColor: pt.accent),
|
||||
Switch(value: value, onChanged: onChanged, activeThumbColor: pt.accent),
|
||||
]),
|
||||
);
|
||||
}
|
||||
@@ -981,7 +981,7 @@ class _ErrorCard extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _PublicRoomItem extends ConsumerWidget {
|
||||
final PublicRoomsChunk room;
|
||||
final PublishedRoomsChunk room;
|
||||
final PyramidTheme pt;
|
||||
final bool isJoining;
|
||||
final VoidCallback onJoin;
|
||||
|
||||
Reference in New Issue
Block a user