Skip to content

Commit

Permalink
Merge pull request #122 from sparcs-kaist/[email protected]
Browse files Browse the repository at this point in the history
Change version to 2.0.0, remove landscape orientation except iPadOS
  • Loading branch information
sboh1214 authored Aug 3, 2023
2 parents e7aa9c6 + 6f3cc73 commit 082f1f5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand Down
6 changes: 2 additions & 4 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,13 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Online Timeplanner with Lectures Plus App @ KAIST
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.3.0+21
version: 2.0.0+21

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions test/widgets/review_block_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ void main() {
review: SampleReview.shared,
).material);

final likeFinder = find.text('좋아요');
// final likeFinder = find.text('좋아요');
final reportFinder = find.text('신고하기');

expect(likeFinder, findsOneWidget);
// expect(likeFinder, findsOneWidget);
expect(reportFinder, findsOneWidget);
});
}

0 comments on commit 082f1f5

Please sign in to comment.