Skip to content

Commit

Permalink
fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonC01 committed Apr 6, 2024
1 parent f3a674c commit 1d1e4fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pushToTesters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:

# /// Builds Apk
- name: Build Gradle
working-directory: ./mingle
run: flutter build apk --release
- run: ls build/app/outputs/flutter-apk

Expand Down
4 changes: 3 additions & 1 deletion mingle/lib/post/view/square_tab_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:mingle/common/component/general_post_preview_card.dart';
// import 'package:mingle/common/component/post_preview_card.dart';
import 'package:mingle/post/provider/post_provider.dart';
import 'package:mingle/user/provider/user_provider.dart';
import 'package:mingle/user/view/home_screen/home_root_tab.dart';
import 'package:mingle/user/view/home_screen/tab_screen.dart';

Expand All @@ -17,14 +18,15 @@ class SquareTabScreen extends ConsumerWidget {

@override
Widget build(BuildContext context, WidgetRef ref) {
bool isChina = ref.watch(currentUserProvider)!.country == "CHINA";
return TabScreen(
boardType: 'TOTAL',
title: '광장',
subtitle: '모든 학교의 학생들이 모인',
tab1: '전체글',
tab2: '자유',
tab3: '질문',
tab4: '밍글소식',
tab4: isChina ? '총학생회' : '밍글소식',
tabContents: [
GeneralPostPreviewCard(
boardType: "광장",
Expand Down

0 comments on commit 1d1e4fa

Please sign in to comment.