This commit is contained in:
		@@ -149,14 +149,14 @@ class _DetailViewState extends ConsumerState<DetailView> {
 | 
			
		||||
                value: 'direct_link',
 | 
			
		||||
                child: ListTile(
 | 
			
		||||
                  leading: const Icon(Icons.link),
 | 
			
		||||
                  title: const Text('Link zum Bild'),
 | 
			
		||||
                  title: const Text('Link zur Datei'),
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
              PopupMenuItem(
 | 
			
		||||
                value: 'post_link',
 | 
			
		||||
                child: ListTile(
 | 
			
		||||
                  leading: const Icon(Icons.article),
 | 
			
		||||
                  title: const Text('Link zum Post'),
 | 
			
		||||
                  title: const Text('Link zum f0ck'),
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
            ],
 | 
			
		||||
@@ -182,14 +182,14 @@ class _DetailViewState extends ConsumerState<DetailView> {
 | 
			
		||||
      ),
 | 
			
		||||
      persistentFooterButtons: mediaState.tag != null
 | 
			
		||||
          ? [
 | 
			
		||||
              InputChip(
 | 
			
		||||
                label: Text(mediaState.tag!),
 | 
			
		||||
                //backgroundColor: const Color(0xFF090909),
 | 
			
		||||
                //labelStyle: const TextStyle(color: Colors.white),
 | 
			
		||||
                onDeleted: () {
 | 
			
		||||
                  mediaNotifier.setTag(null);
 | 
			
		||||
                  Navigator.pop(context);
 | 
			
		||||
                },
 | 
			
		||||
              Center(
 | 
			
		||||
                child: InputChip(
 | 
			
		||||
                  label: Text(mediaState.tag!),
 | 
			
		||||
                  onDeleted: () {
 | 
			
		||||
                    mediaNotifier.setTag(null);
 | 
			
		||||
                    Navigator.pop(context);
 | 
			
		||||
                  },
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
            ]
 | 
			
		||||
          : null,
 | 
			
		||||
 
 | 
			
		||||
@@ -61,15 +61,21 @@ class _MediaGridState extends ConsumerState<MediaGrid> {
 | 
			
		||||
    return Scaffold(
 | 
			
		||||
      key: _scaffoldKey,
 | 
			
		||||
      appBar: AppBar(
 | 
			
		||||
        title: Row(
 | 
			
		||||
          spacing: 15,
 | 
			
		||||
          children: [
 | 
			
		||||
            Image.asset('assets/images/f0ck_small.webp', fit: BoxFit.fitHeight),
 | 
			
		||||
            Text(
 | 
			
		||||
              'fApp',
 | 
			
		||||
              style: TextStyle(fontSize: 24),
 | 
			
		||||
            ),
 | 
			
		||||
          ],
 | 
			
		||||
        title: GestureDetector(
 | 
			
		||||
          child: Row(
 | 
			
		||||
            spacing: 10,
 | 
			
		||||
            children: [
 | 
			
		||||
              Image.asset(
 | 
			
		||||
                'assets/images/f0ck_small.webp',
 | 
			
		||||
                fit: BoxFit.fitHeight,
 | 
			
		||||
              ),
 | 
			
		||||
              Text('fApp', style: TextStyle(fontSize: 24)),
 | 
			
		||||
            ],
 | 
			
		||||
          ),
 | 
			
		||||
          onTap: () {
 | 
			
		||||
            mediaNotifier.setTag(null);
 | 
			
		||||
            _scrollController.jumpTo(0);
 | 
			
		||||
          },
 | 
			
		||||
        ),
 | 
			
		||||
        actions: [
 | 
			
		||||
          IconButton(
 | 
			
		||||
@@ -236,12 +242,14 @@ class _MediaGridState extends ConsumerState<MediaGrid> {
 | 
			
		||||
      ),
 | 
			
		||||
      persistentFooterButtons: mediaState.tag != null
 | 
			
		||||
          ? [
 | 
			
		||||
              InputChip(
 | 
			
		||||
                label: Text(mediaState.tag!),
 | 
			
		||||
                onDeleted: () {
 | 
			
		||||
                  mediaNotifier.setTag(null);
 | 
			
		||||
                  _scrollController.jumpTo(0);
 | 
			
		||||
                },
 | 
			
		||||
              Center(
 | 
			
		||||
                child: InputChip(
 | 
			
		||||
                  label: Text(mediaState.tag!),
 | 
			
		||||
                  onDeleted: () {
 | 
			
		||||
                    mediaNotifier.setTag(null);
 | 
			
		||||
                    _scrollController.jumpTo(0);
 | 
			
		||||
                  },
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
            ]
 | 
			
		||||
          : null,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user