mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Show post visibility levels
This commit is contained in:
		@@ -2,6 +2,7 @@ import 'dart:io';
 | 
			
		||||
 | 
			
		||||
import 'package:comunic/enums/likes_type.dart';
 | 
			
		||||
import 'package:comunic/enums/post_kind.dart';
 | 
			
		||||
import 'package:comunic/enums/post_visibility_level.dart';
 | 
			
		||||
import 'package:comunic/helpers/comments_helper.dart';
 | 
			
		||||
import 'package:comunic/helpers/likes_helper.dart';
 | 
			
		||||
import 'package:comunic/helpers/posts_helper.dart';
 | 
			
		||||
@@ -97,6 +98,14 @@ class _PostTileState extends State<PostTile> {
 | 
			
		||||
          ),
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
        PopupMenuButton(
 | 
			
		||||
          child: Icon(
 | 
			
		||||
            PostVisibilityLevelsMapIcons[widget.post.visibilityLevel],
 | 
			
		||||
            color: Colors.grey,
 | 
			
		||||
          ),
 | 
			
		||||
          itemBuilder: (c) => [],
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
        PopupMenuButton<_PostActions>(
 | 
			
		||||
          itemBuilder: (c) => [
 | 
			
		||||
                // Update post content
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user