mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Exporting failed error removed if user cancelled his action on the file picker screen
This commit is contained in:
@@ -33,8 +33,6 @@ class SettingsActivity : SimpleActivity() {
|
||||
if (uri != null) {
|
||||
toast(R.string.importing)
|
||||
importCallHistory(uri)
|
||||
} else {
|
||||
toast(R.string.importing_failed)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,8 +42,6 @@ class SettingsActivity : SimpleActivity() {
|
||||
RecentsHelper(this).getRecentCalls(false, Int.MAX_VALUE) { recents ->
|
||||
exportCallHistory(recents, uri)
|
||||
}
|
||||
} else {
|
||||
toast(R.string.exporting_failed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user