Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:56:56 +01:00
parent 75dc487a7a
commit 39c29d175b
6317 changed files with 388324 additions and 2 deletions

View file

@ -0,0 +1,7 @@
plugins {
id(ThunderbirdPlugins.Library.kmp)
}
android {
namespace = "net.thunderbird.feature.account.avatar"
}

View file

@ -0,0 +1,18 @@
package net.thunderbird.feature.account.avatar
/**
* Interface for creating a monogram based on a name or email address.
*
* This interface is used to generate a monogram, which is typically the initials of a person's name,
* or a representation based on an email address. Implementations should handle null or empty inputs gracefully.
*/
fun interface AvatarMonogramCreator {
/**
* Creates a monogram for the given name or email.
*
* @param name The name to generate a monogram for.
* @param email The email address to generate a monogram for.
* @return A string representing the monogram, or an empty string if the name or email is null or empty.
*/
fun create(name: String?, email: String?): String
}