mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-21 11:28:56 -04:00
Refactor: Replace string
Replace storage permission rationale string with an existing one
This commit is contained in:
parent
17d424803b
commit
de956fc663
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user