mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Move learn more text in skipped entries notification to main content
Because people apparently don't realize they can tap actions
This commit is contained in:
		| @@ -128,8 +128,9 @@ class LibraryUpdateNotifier(private val context: Context) { | ||||
|             Notifications.ID_LIBRARY_SKIPPED, | ||||
|             context.notificationBuilder(Notifications.CHANNEL_LIBRARY_SKIPPED) { | ||||
|                 setContentTitle(context.resources.getString(R.string.notification_update_skipped, skipped)) | ||||
|                 setContentText(context.getString(R.string.learn_more)) | ||||
|                 setSmallIcon(R.drawable.ic_tachi) | ||||
|                 addAction(R.drawable.ic_help_24dp, context.getString(R.string.learn_more), NotificationHandler.openUrl(context, HELP_SKIPPED_URL)) | ||||
|                 setContentIntent(NotificationHandler.openUrl(context, HELP_SKIPPED_URL)) | ||||
|             } | ||||
|                 .build(), | ||||
|         ) | ||||
|   | ||||
| @@ -740,7 +740,7 @@ | ||||
|     </plurals> | ||||
|     <string name="notification_update_error">%1$d update(s) failed</string> | ||||
|     <string name="notification_update_skipped">%1$d update(s) skipped</string> | ||||
|     <string name="learn_more">Learn more</string> | ||||
|     <string name="learn_more">Tap to learn more</string> | ||||
|     <string name="notification_cover_update_failed">Failed to update cover</string> | ||||
|     <string name="notification_first_add_to_library">Please add the manga to your library before doing this</string> | ||||
|     <string name="library_errors_help">For help on how to fix library update errors, see %1$s</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user