MailHops / mailhops-plugin

MailHops Postbox and Thunderbird plugin
https://www.mailhops.com
Mozilla Public License 2.0
20 stars 7 forks source link

Show local data on error #33

Closed Ionic closed 1 month ago

Ionic commented 4 months ago

Previously, when the API was unreachable or returned an error, the whole popup was disabled without even processing local data or applying the theme option.

Since auth data is local data and we want to always apply the theme option correctly, don't return early in case of an error but only guard code that would fail if we don't have an API response.

Depends upon #32.

Ionic commented 3 months ago

Rebased.