mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Allow BITFeedbackActivity title and image to be customized
This commit is contained in:
@@ -92,4 +92,30 @@ typedef enum {
|
||||
*/
|
||||
- (BITFeedbackComposeViewController *)feedbackComposeViewController;
|
||||
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name BITFeedbackActivity settings
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
Define the image shown when using `BITFeedbackActivity`
|
||||
|
||||
If not set a default icon is being used.
|
||||
|
||||
@see activityTitle
|
||||
*/
|
||||
@property (nonatomic, retain) UIImage *activityImage;
|
||||
|
||||
|
||||
/**
|
||||
Define the title shown when using `BITFeedbackActivity`
|
||||
|
||||
If not set, a default string is shown by using the apps name
|
||||
and adding the localized string "Feedback" to it.
|
||||
|
||||
@see activityImage
|
||||
*/
|
||||
@property (nonatomic, retain) NSString *activityTitle;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user