Skip to content

Commit

Permalink
Merge pull request #69 from sparcs-kaist/#62-인터넷-연결-실패-시-에러-페이지-띄우기
Browse files Browse the repository at this point in the history
Fix: Remove error Code Check
  • Loading branch information
happycastle114 authored Sep 7, 2023
2 parents a050ff7 + 464d2ac commit d9ec8c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.9.10'
repositories {
google()
mavenCentral()
Expand Down
4 changes: 1 addition & 3 deletions lib/views/taxiView.dart
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,7 @@ class TaxiView extends HookWidget {
// 될 때까지 리로드
if (!isLoaded.value && LoadCount.value < 10) {
LoadCount.value++;
}

if (code == -2) {
} else if (isServerError.value == false) {
Fluttertoast.showToast(
msg: "서버와의 연결에 실패했습니다.",
toastLength: Toast.LENGTH_SHORT,
Expand Down

0 comments on commit d9ec8c5

Please sign in to comment.