Move string to its place. Add issue reference.
This commit is contained in:
parent
18de950fae
commit
6556745618
@ -166,5 +166,6 @@
|
|||||||
<string name="permissions">Permissions for v%s</string>
|
<string name="permissions">Permissions for v%s</string>
|
||||||
<string name="showPermissions">Show permissions</string>
|
<string name="showPermissions">Show permissions</string>
|
||||||
<string name="showPermissions_long">Display a list of permissions an app needs</string>
|
<string name="showPermissions_long">Display a list of permissions an app needs</string>
|
||||||
|
<string name="no_handler_app">You don\'t have any app installed that can handle %s</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -542,7 +542,7 @@ public class AppDetails extends ListActivity {
|
|||||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(s)));
|
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(s)));
|
||||||
} catch (android.content.ActivityNotFoundException e) {
|
} catch (android.content.ActivityNotFoundException e) {
|
||||||
Toast toast = Toast.makeText(this,
|
Toast toast = Toast.makeText(this,
|
||||||
"You don't have any app installed that can handle " + s, 3);
|
String.format(getString(R.string.no_handler_app), s), 4);
|
||||||
toast.show();
|
toast.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -590,6 +590,7 @@ public class AppDetails extends ListActivity {
|
|||||||
|
|
||||||
// TODO: Separate donate links if there are many (e.g. paypal and
|
// TODO: Separate donate links if there are many (e.g. paypal and
|
||||||
// bitcoin) and use their link schemas if possible.
|
// bitcoin) and use their link schemas if possible.
|
||||||
|
// http://f-droid.org/repository/issues/?do=view_issue&issue=212
|
||||||
case DONATE:
|
case DONATE:
|
||||||
tryOpenUri(app.detail_donateURL);
|
tryOpenUri(app.detail_donateURL);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user