Skip to content
  • n0toose's avatar
    Abstract dialogue options · cb69a625
    n0toose authored
    
    
    This change is part of an ongoing, aggressive effort to clean up the
    codebase and add support for sharing Android binaries, so a couple of
    changes included here are slightly out-of-scope. Most of them concern
    the dialogue options themselves.
    
    - Fix type hints for callback queries
    - Improve order of imports using isort
    - Rename "OnionSproutsBot" Client instance to "Bot" to save columns and
      improve clarity
    - Apply black's default formatting settings to all source files
    - Small string improvements
    - Improve comments
    - Add type hints
    - Fix incorrect type hints
    - Fix problem where "Main Menu" button would not pop up when asking for
      mirrors.
    - Use separate function for error messages
    - Error messages now appear only once and are always descriptive
    - Use language parameter when possible
    
    Co-authored-by: default avatarAlain Zscheile <zseri.devel@ytrizja.de>
    Co-authored-by: default avatarStarByte <OpenSource@stacksmash.net>
    cb69a625