clragon / e1547

A sophisticated e621 browser
https://e1547.clynamic.net/
GNU General Public License v3.0
202 stars 15 forks source link

editing a follow doesn't work #98

Closed TayIorRobinson closed 1 year ago

TayIorRobinson commented 1 year ago

when you edit a follow, clicking the save button brings up the "Add to follow" bar instead of saving

clragon commented 1 year ago

I cannot reproduce this. Can you provide reproduction steps?

TayIorRobinson commented 1 year ago

https://user-images.githubusercontent.com/74316107/235777116-42b7d14f-22f0-4ace-9423-bfead30e753f.mp4

clragon commented 1 year ago

error log:

Critical | 16:49:33.541 | Flutter: RangeError (index): Invalid value: Valid value range is empty: 0
╔ Error ═══════════════════════════════════════════════════════════════════════════════════╗
║
║  #0      _StringBase.[] (dart:core-patch/string_patch.dart:258:41)
║  #1      _TagInputState.build.<anonymous closure> (package:e1547/tag/widgets/input.dart:86:54)
║  #2      _TypeAheadFieldState._initOverlayEntry.<anonymous closure>.<anonymous closure> (package:flutter_typeahead/src/material/field/typeahead_field.dart:765:40)
║  #3      _SuggestionsListState.createSuggestionsWidget.<anonymous closure>.<anonymous closure> (package:flutter_typeahead/src/material/suggestions_box/suggestions_list.dart:395:43)
║  
║
╚══════════════════════════════════════════════════════════════════════════════════════════╝
clragon commented 1 year ago

thank you, this has been fixed in the new version. also note that as a workaround, you can press enter.