Refactor: Replace string

Replace storage permission rationale string with an existing one
This commit is contained in:
Aditya-Sood 2019-07-19 01:16:04 +05:30
parent 17d424803b
commit de956fc663
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@ sealed class KiwixDialog(
)
object StoragePermissionRationale : KiwixDialog( // For the local file transfer module
null, R.string.permission_rationale_storage, android.R.string.yes, android.R.string.cancel
null, R.string.request_storage, android.R.string.yes, android.R.string.cancel
)
data class FileTransferConfirmation(override val args: Array<out Any>) : KiwixDialog( // For the local file transfer module

View File

@ -266,7 +266,6 @@
<string name="severe_loss_error">Severe error! Try Disable/Re-enable WiFi P2P</string>
<string name="connection_failed">Connection failed</string>
<string name="permission_rationale_location">Location permission is required by Android to allow the app to detect peer devices</string>
<string name="permission_rationale_storage">Storage permissions required for accessing and storing ZIM files</string>
<string name="permission_refused_location">Cannot locate peer devices without location permissions</string>
<string name="permission_refused_storage">Cannot access zim files without storage permission</string>
<string name="request_enable_location">Enable location to allow detection of peers</string>