Skip to content

Commit

Permalink
Close account activity on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlav committed Sep 24, 2021
1 parent 7baac4d commit 9f6766c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/kudlav/kam/AccountActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class AccountActivity : AppCompatActivity() {
super.onCancelled(result)
swipeRefreshLayout.isRefreshing = false
Toast.makeText(applicationContext, "${getString(R.string.err_network)}: ${result.error}", Toast.LENGTH_LONG).show()
finish()
}

}
Expand Down

0 comments on commit 9f6766c

Please sign in to comment.