[mob] green banner for adding name to cluster
This commit is contained in:
parent
aad4bd3b79
commit
17684a112e
27 changed files with 113 additions and 16 deletions
3
mobile/lib/generated/intl/messages_cs.dart
generated
3
mobile/lib/generated/intl/messages_cs.dart
generated
|
@ -22,6 +22,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addToHiddenAlbum":
|
||||
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
|
||||
"changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(
|
||||
|
@ -35,6 +36,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
MessageLookupByLibrary.simpleMessage(
|
||||
"Edits to location will only be seen within Ente"),
|
||||
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
|
||||
"locations": MessageLookupByLibrary.simpleMessage("Locations"),
|
||||
"modifyYourQueryOrTrySearchingFor":
|
||||
|
|
3
mobile/lib/generated/intl/messages_de.dart
generated
3
mobile/lib/generated/intl/messages_de.dart
generated
|
@ -224,6 +224,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Ich verstehe, dass ich meine Daten verlieren kann, wenn ich mein Passwort vergesse, da meine Daten <underline>Ende-zu-Ende-verschlüsselt</underline> sind."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Aktive Sitzungen"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail": MessageLookupByLibrary.simpleMessage(
|
||||
"Neue E-Mail-Adresse hinzufügen"),
|
||||
"addCollaborator":
|
||||
|
@ -723,6 +724,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted":
|
||||
MessageLookupByLibrary.simpleMessage("Dateien gelöscht"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Spiegeln"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("Als Erinnerung"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_en.dart
generated
3
mobile/lib/generated/intl/messages_en.dart
generated
|
@ -220,6 +220,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"I understand that if I lose my password, I may lose my data since my data is <underline>end-to-end encrypted</underline>."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Active sessions"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail": MessageLookupByLibrary.simpleMessage("Add a new email"),
|
||||
"addCollaborator":
|
||||
MessageLookupByLibrary.simpleMessage("Add collaborator"),
|
||||
|
@ -705,6 +706,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpFromDevice": m20,
|
||||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted": MessageLookupByLibrary.simpleMessage("Files deleted"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Flip"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("for your memories"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_es.dart
generated
3
mobile/lib/generated/intl/messages_es.dart
generated
|
@ -200,6 +200,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Entiendo que si pierdo mi contraseña podría perder mis datos, ya que mis datos están <underline>cifrados de extremo a extremo</underline>."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Sesiónes activas"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail": MessageLookupByLibrary.simpleMessage(
|
||||
"Agregar nuevo correo electrónico"),
|
||||
"addCollaborator":
|
||||
|
@ -634,6 +635,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted":
|
||||
MessageLookupByLibrary.simpleMessage("Archivos eliminados"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Voltear"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("para tus recuerdos"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_fr.dart
generated
3
mobile/lib/generated/intl/messages_fr.dart
generated
|
@ -217,6 +217,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Je comprends que si je perds mon mot de passe, je perdrai mes données puisque mes données sont <underline>chiffrées de bout en bout</underline>."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Sessions actives"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail":
|
||||
MessageLookupByLibrary.simpleMessage("Ajouter un nouvel email"),
|
||||
"addCollaborator":
|
||||
|
@ -720,6 +721,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted":
|
||||
MessageLookupByLibrary.simpleMessage("Fichiers supprimés"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Retourner"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("pour vos souvenirs"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_it.dart
generated
3
mobile/lib/generated/intl/messages_it.dart
generated
|
@ -212,6 +212,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Comprendo che se perdo la password potrei perdere l\'accesso ai miei dati poiché sono <underline>criptati end-to-end</underline>."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Sessioni attive"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail":
|
||||
MessageLookupByLibrary.simpleMessage("Aggiungi una nuova email"),
|
||||
"addCollaborator":
|
||||
|
@ -692,6 +693,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpFromDevice": m20,
|
||||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted": MessageLookupByLibrary.simpleMessage("File eliminati"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Capovolgi"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("per i tuoi ricordi"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_ko.dart
generated
3
mobile/lib/generated/intl/messages_ko.dart
generated
|
@ -22,6 +22,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addToHiddenAlbum":
|
||||
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
|
||||
"changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(
|
||||
|
@ -35,6 +36,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
MessageLookupByLibrary.simpleMessage(
|
||||
"Edits to location will only be seen within Ente"),
|
||||
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
|
||||
"locations": MessageLookupByLibrary.simpleMessage("Locations"),
|
||||
"modifyYourQueryOrTrySearchingFor":
|
||||
|
|
3
mobile/lib/generated/intl/messages_nl.dart
generated
3
mobile/lib/generated/intl/messages_nl.dart
generated
|
@ -224,6 +224,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Ik begrijp dat als ik mijn wachtwoord verlies, ik mijn gegevens kan verliezen omdat mijn gegevens <underline>end-to-end versleuteld</underline> zijn."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Actieve sessies"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail":
|
||||
MessageLookupByLibrary.simpleMessage("Nieuw e-mailadres toevoegen"),
|
||||
"addCollaborator":
|
||||
|
@ -732,6 +733,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted":
|
||||
MessageLookupByLibrary.simpleMessage("Bestanden verwijderd"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Omdraaien"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("voor uw herinneringen"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_no.dart
generated
3
mobile/lib/generated/intl/messages_no.dart
generated
|
@ -24,6 +24,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"accountWelcomeBack":
|
||||
MessageLookupByLibrary.simpleMessage("Velkommen tilbake!"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addToHiddenAlbum":
|
||||
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
|
||||
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
|
||||
|
@ -53,6 +54,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Skriv inn e-postadressen din"),
|
||||
"feedback": MessageLookupByLibrary.simpleMessage("Tilbakemelding"),
|
||||
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"invalidEmailAddress":
|
||||
MessageLookupByLibrary.simpleMessage("Ugyldig e-postadresse"),
|
||||
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_pl.dart
generated
3
mobile/lib/generated/intl/messages_pl.dart
generated
|
@ -28,6 +28,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"accountWelcomeBack":
|
||||
MessageLookupByLibrary.simpleMessage("Witaj ponownie!"),
|
||||
"activeSessions": MessageLookupByLibrary.simpleMessage("Aktywne sesje"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addToHiddenAlbum":
|
||||
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
|
||||
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
|
||||
|
@ -101,6 +102,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Wprowadź swój klucz odzyskiwania"),
|
||||
"feedback": MessageLookupByLibrary.simpleMessage("Informacja zwrotna"),
|
||||
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"forgotPassword":
|
||||
MessageLookupByLibrary.simpleMessage("Nie pamiętam hasła"),
|
||||
"generatingEncryptionKeys": MessageLookupByLibrary.simpleMessage(
|
||||
|
|
3
mobile/lib/generated/intl/messages_pt.dart
generated
3
mobile/lib/generated/intl/messages_pt.dart
generated
|
@ -220,6 +220,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Eu entendo que se eu perder minha senha, posso perder meus dados, já que meus dados são <underline>criptografados de ponta a ponta</underline>."),
|
||||
"activeSessions":
|
||||
MessageLookupByLibrary.simpleMessage("Sessões ativas"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail":
|
||||
MessageLookupByLibrary.simpleMessage("Adicionar um novo email"),
|
||||
"addCollaborator":
|
||||
|
@ -720,6 +721,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted":
|
||||
MessageLookupByLibrary.simpleMessage("Arquivos excluídos"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("Inverter"),
|
||||
"forYourMemories":
|
||||
MessageLookupByLibrary.simpleMessage("para suas memórias"),
|
||||
|
|
3
mobile/lib/generated/intl/messages_zh.dart
generated
3
mobile/lib/generated/intl/messages_zh.dart
generated
|
@ -200,6 +200,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"ackPasswordLostWarning": MessageLookupByLibrary.simpleMessage(
|
||||
"我明白,如果我丢失密码,我可能会丢失我的数据,因为我的数据是 <underline>端到端加密的</underline>。"),
|
||||
"activeSessions": MessageLookupByLibrary.simpleMessage("已登录的设备"),
|
||||
"addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
|
||||
"addANewEmail": MessageLookupByLibrary.simpleMessage("添加新的电子邮件"),
|
||||
"addCollaborator": MessageLookupByLibrary.simpleMessage("添加协作者"),
|
||||
"addFromDevice": MessageLookupByLibrary.simpleMessage("从设备添加"),
|
||||
|
@ -592,6 +593,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"filesBackedUpFromDevice": m20,
|
||||
"filesBackedUpInAlbum": m21,
|
||||
"filesDeleted": MessageLookupByLibrary.simpleMessage("文件已删除"),
|
||||
"findPeopleByName": MessageLookupByLibrary.simpleMessage(
|
||||
"Find people quickly by searching by name"),
|
||||
"flip": MessageLookupByLibrary.simpleMessage("上下翻转"),
|
||||
"forYourMemories": MessageLookupByLibrary.simpleMessage("为您的回忆"),
|
||||
"forgotPassword": MessageLookupByLibrary.simpleMessage("忘记密码"),
|
||||
|
|
20
mobile/lib/generated/l10n.dart
generated
20
mobile/lib/generated/l10n.dart
generated
|
@ -8437,6 +8437,26 @@ class S {
|
|||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Add a name`
|
||||
String get addAName {
|
||||
return Intl.message(
|
||||
'Add a name',
|
||||
name: 'addAName',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Find people quickly by searching by name`
|
||||
String get findPeopleByName {
|
||||
return Intl.message(
|
||||
'Find people quickly by searching by name',
|
||||
name: 'findPeopleByName',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
|
|
@ -13,5 +13,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1180,5 +1180,7 @@
|
|||
"cleanUncategorized": "Unkategorisiert leeren",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1200,5 +1200,7 @@
|
|||
"deviceCodeHint": "Enter the code",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -975,5 +975,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1156,5 +1156,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1118,5 +1118,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -13,5 +13,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1194,5 +1194,7 @@
|
|||
"deviceCodeHint": "Voer de code in",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -27,5 +27,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -114,5 +114,7 @@
|
|||
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
|
||||
"joinDiscord": "Join Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1198,5 +1198,7 @@
|
|||
"deviceCodeHint": "Insira o código",
|
||||
"joinDiscord": "Junte-se ao Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -1198,5 +1198,7 @@
|
|||
"deviceCodeHint": "输入代码",
|
||||
"joinDiscord": "加入 Discord",
|
||||
"locations": "Locations",
|
||||
"descriptions": "Descriptions"
|
||||
"descriptions": "Descriptions",
|
||||
"addAName": "Add a name",
|
||||
"findPeopleByName": "Find people quickly by searching by name"
|
||||
}
|
|
@ -10,6 +10,7 @@ import 'package:photos/ui/components/buttons/icon_button_widget.dart';
|
|||
enum NotificationType {
|
||||
warning,
|
||||
banner,
|
||||
greenBanner,
|
||||
goldenBanner,
|
||||
notice,
|
||||
}
|
||||
|
@ -67,6 +68,18 @@ class NotificationWidget extends StatelessWidget {
|
|||
);
|
||||
boxShadow = Theme.of(context).colorScheme.enteTheme.shadowMenu;
|
||||
break;
|
||||
case NotificationType.greenBanner:
|
||||
backgroundGradient = LinearGradient(
|
||||
colors: [
|
||||
getEnteColorScheme(context).primary700,
|
||||
getEnteColorScheme(context).primary500,
|
||||
],
|
||||
stops: const [0.25, 1],
|
||||
begin: Alignment.bottomCenter,
|
||||
end: Alignment.topCenter,
|
||||
);
|
||||
boxShadow = Theme.of(context).colorScheme.enteTheme.shadowMenu;
|
||||
break;
|
||||
case NotificationType.notice:
|
||||
backgroundColor = colorScheme.backgroundElevated2;
|
||||
mainTextStyle = textTheme.bodyBold;
|
||||
|
|
|
@ -6,6 +6,7 @@ import 'package:photos/core/event_bus.dart';
|
|||
import 'package:photos/events/files_updated_event.dart';
|
||||
import 'package:photos/events/local_photos_updated_event.dart';
|
||||
import "package:photos/face/model/person.dart";
|
||||
import "package:photos/generated/l10n.dart";
|
||||
import 'package:photos/models/file/file.dart';
|
||||
import 'package:photos/models/file_load_result.dart';
|
||||
import 'package:photos/models/gallery_type.dart';
|
||||
|
@ -117,13 +118,16 @@ class _ClusterPageState extends State<ClusterPage> {
|
|||
const SizedBox(height: 12),
|
||||
RepaintBoundary(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||
padding:
|
||||
const EdgeInsets.symmetric(vertical: 8.0, horizontal: 8.0),
|
||||
child: NotificationWidget(
|
||||
startIcon: Icons.person_add_outlined,
|
||||
actionIcon: Icons.add_outlined,
|
||||
text: "Add a name",
|
||||
subText: "Find persons quickly by searching by name",
|
||||
type: NotificationType.notice,
|
||||
text: S.of(context).addAName,
|
||||
subText:S.of(context).findPeopleByName,
|
||||
// text: S.of(context).addAName,
|
||||
// subText: S.of(context).findPersonsByName,
|
||||
type: NotificationType.greenBanner,
|
||||
onTap: () async {
|
||||
if (widget.personID == null) {
|
||||
final result = await showAssignPersonAction(
|
||||
|
|
Loading…
Add table
Reference in a new issue