-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show link dialog on long press #651
Conversation
} | ||
} | ||
|
||
Toast.makeText(context, "Saved image", Toast.LENGTH_SHORT).show() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Saved image" should be a stringResource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use string resources over literals, then it'll lgtm.
@@ -881,6 +884,23 @@ fun saveBitmap( | |||
} | |||
} | |||
|
|||
suspend fun saveImage(url: String, context: Context) { | |||
Toast.makeText(context, "Saving image...", Toast.LENGTH_SHORT).show() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stringResource.
Any updates? |
Obsolete by #1189 |
When long pressing a post thumbnail or image a dialog will show containing actions related to the post's link, similar to Boost. If the link is an image, an option to download it will be added.