Skip to content

Commit

Permalink
Added error message with occurred exception info while saving by #1605
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jan 20, 2025
1 parent 04a37e8 commit 8935849
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ internal fun Activity.parseSaveResults(
duration = ToastDuration.Long
)
} else {
val saveResult =
results.firstOrNull { it is SaveResult.Success } as? SaveResult.Success
val saveResult = results.firstOrNull { it is SaveResult.Success } as? SaveResult.Success

if (saveResult?.isOverwritten == true) {
essentials.showToast(
Expand Down

0 comments on commit 8935849

Please sign in to comment.