Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Airyzz committed Jul 3, 2024
1 parent 9ec83e6 commit 5491327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 281 deletions.
280 changes: 0 additions & 280 deletions commet/lib/ui/atoms/room_list.dart

This file was deleted.

6 changes: 5 additions & 1 deletion commet/lib/ui/atoms/space_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import 'package:commet/ui/atoms/room_text_button.dart';
import 'package:commet/utils/event_bus.dart';
import 'package:flutter/material.dart';
import 'package:implicitly_animated_list/implicitly_animated_list.dart';
import 'package:intl/intl.dart';
import 'package:tiamat/tiamat.dart' as tiamat;

class SpaceList extends StatefulWidget {
Expand Down Expand Up @@ -34,6 +35,9 @@ class _SpaceListState extends State<SpaceList> {
Room? selectedRoom;
bool topLevel = false;

String get labelRoomsList => Intl.message("Rooms",
desc: "Header label for the list of rooms", name: "labelRoomsList");

@override
void initState() {
subSpaces = widget.space.subspaces;
Expand Down Expand Up @@ -118,7 +122,7 @@ class _SpaceListState extends State<SpaceList> {
Padding(
padding: const EdgeInsets.all(8.0),
child: tiamat.Text(
"Rooms",
labelRoomsList,
color: Theme.of(context).colorScheme.secondary,
),
),
Expand Down

0 comments on commit 5491327

Please sign in to comment.