mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-24 01:18:56 +00:00

* feat: show block in notification item * feat: jump to block action * fix: conflict after merge main * fix: missing import after merge main
19 lines
442 B
Dart
19 lines
442 B
Dart
import 'package:appflowy_backend/protobuf/flowy-user/protobuf.dart';
|
|
|
|
enum ReminderMetaKeys {
|
|
includeTime("include_time"),
|
|
blockId("block_id");
|
|
|
|
const ReminderMetaKeys(this.name);
|
|
|
|
final String name;
|
|
}
|
|
|
|
extension ReminderExtension on ReminderPB {
|
|
bool? get includeTime {
|
|
final String? includeTimeStr = meta[ReminderMetaKeys.includeTime.name];
|
|
|
|
return includeTimeStr != null ? includeTimeStr == true.toString() : null;
|
|
}
|
|
}
|