Skip to content

Commit 20ee3f9

Browse files
committed
Remove browse tab
1 parent 7a83fd5 commit 20ee3f9

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ jobs:
184184
flutter clean
185185
flutter pub get
186186
flutter doctor -v
187+
- name: Build nessesary files
188+
working-directory: ./
189+
run: |
190+
cd tools
191+
dart pub get
192+
cd ..
193+
dart run tools/generate.dart
187194
- name: 🏭 Build MSIX
188195
run: |
189196
dart run msix:create

app/lib/pages/packs/dialog.dart

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class _PacksDialogState extends State<PacksDialog>
5454
void initState() {
5555
super.initState();
5656
_packsFuture = _getPacks();
57-
_tabController = TabController(length: 3, vsync: this);
57+
_tabController = TabController(length: 2, vsync: this);
5858
_controller.addStatusListener((status) {
5959
if (status == AnimationStatus.dismissed) {
6060
setState(() {
@@ -158,10 +158,6 @@ class _PacksDialogState extends State<PacksDialog>
158158
icon: const PhosphorIcon(PhosphorIconsLight.folder),
159159
label: Text(AppLocalizations.of(context).installed),
160160
),
161-
HorizontalTab(
162-
icon: const PhosphorIcon(PhosphorIconsLight.globe),
163-
label: Text(AppLocalizations.of(context).browse),
164-
),
165161
if (!isWorldLoaded)
166162
HorizontalTab(
167163
icon: const PhosphorIcon(PhosphorIconsLight.notePencil),
@@ -227,11 +223,6 @@ class _PacksDialogState extends State<PacksDialog>
227223
onUnselect: _unselect,
228224
selected: selected,
229225
),
230-
Center(
231-
child: Text(
232-
AppLocalizations.of(context).comingSoon,
233-
),
234-
),
235226
if (bloc == null)
236227
_EditorPacksView(onReload: _reloadPacks),
237228
],

app/snapcraft.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ parts:
4141
mkdir -p $CRAFT_PART_INSTALL/usr/libexec
4242
cp -r $CRAFT_PART_SRC $CRAFT_PART_INSTALL/usr/libexec/flutter
4343
ln -sf $CRAFT_PART_INSTALL/usr/libexec/flutter/bin/flutter $CRAFT_PART_INSTALL/usr/bin/flutter
44+
ln -sf $CRAFT_PART_INSTALL/usr/libexec/flutter/bin/cache/dart-sdk/bin/dart $CRAFT_PART_INSTALL/usr/bin/dart
4445
export PATH="$CRAFT_PART_INSTALL/usr/bin:$PATH"
4546
flutter doctor
4647
build-packages:

metadata/en-US/changelogs/9.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
* Add snap support
1+
* Add snap support
2+
* Rename single player and multiplayer dialog
3+
* Remove browse tab

0 commit comments

Comments
 (0)