mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-30 14:58:52 +00:00
16 lines
439 B
Dart
16 lines
439 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Post visibility level
|
|
///
|
|
/// @author Pierre HUBERT
|
|
|
|
enum PostVisibilityLevel { PUBLIC, FRIENDS, USER, GROUP_MEMBERS }
|
|
|
|
/// Post visibility levels mapping with material icons
|
|
const PostVisibilityLevelsMapIcons = {
|
|
PostVisibilityLevel.USER: Icons.lock,
|
|
PostVisibilityLevel.FRIENDS: Icons.group,
|
|
PostVisibilityLevel.GROUP_MEMBERS: Icons.group,
|
|
PostVisibilityLevel.PUBLIC: Icons.public
|
|
};
|