mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Fixed compatibility issue in local deletion and text typo
This commit is contained in:
parent
f0fb5848f2
commit
e8852fa725
3 changed files with 5 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
-->
|
||||
<manifest package="eu.alefzero.owncloud"
|
||||
android:versionCode="1"
|
||||
android:versionName="0.1.188B" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
android:versionName="0.1.189B" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
|
||||
<string name="confirmation_remove_alert">"Do you really want to remove %1$s ?"</string>
|
||||
<string name="confirmation_remove_local">Local only</string>
|
||||
<string name="confirmation_remove_remote">Remove form server</string>
|
||||
<string name="confirmation_remove_remote">Remove from server</string>
|
||||
<string name="confirmation_remove_remote_and_local">Both remote and local</string>
|
||||
|
||||
<string name="remove_success_msg">"Successful removal"</string>
|
||||
|
|
|
@ -53,8 +53,10 @@ public class ConfirmationDialogFragment extends SherlockDialogFragment {
|
|||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity())
|
||||
.setIcon(android.R.drawable.ic_dialog_alert)
|
||||
.setMessage(String.format(getString(resourceId), confirmationTarget))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setTitle(android.R.string.dialog_alert_title);
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
|
||||
builder.setIconAttribute(android.R.attr.alertDialogIcon);
|
||||
}
|
||||
|
||||
if (posBtn != -1)
|
||||
builder.setPositiveButton(posBtn,
|
||||
|
|
Loading…
Reference in a new issue