File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/main/java/fr/free/nrw/commons/theme Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55import android .content .ActivityNotFoundException ;
66import android .content .Context ;
77import android .content .Intent ;
8+ import android .net .Uri ;
89import android .support .annotation .NonNull ;
910import android .support .design .widget .NavigationView ;
1011import android .support .v4 .widget .DrawerLayout ;
@@ -119,8 +120,9 @@ public boolean onNavigationItemSelected(@NonNull final MenuItem item) {
119120 return true ;
120121 case R .id .action_feedback :
121122 drawerLayout .closeDrawer (navigationView );
122- Intent feedbackIntent = new Intent (Intent .ACTION_SEND );
123+ Intent feedbackIntent = new Intent (Intent .ACTION_SENDTO );
123124 feedbackIntent .setType ("message/rfc822" );
125+ feedbackIntent .setData (Uri .parse ("mailto:" ));
124126 feedbackIntent .putExtra (Intent .EXTRA_EMAIL ,
125127 new String []{CommonsApplication .FEEDBACK_EMAIL });
126128 feedbackIntent .putExtra (Intent .EXTRA_SUBJECT ,
You can’t perform that action at this time.
0 commit comments