Commit Graph

38 Commits

Author SHA1 Message Date
shilangyu a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +00:00
shilangyu 58f964ab66 Fix federation errors and rename all instanceUrl to instanceHost 2020-12-31 13:58:23 +00:00
krawieck 8211d963a7 make it so that the first instance after instalation is lemmy.ml 2020-12-04 13:55:40 +01:00
shilangyu b8636938ba keys to sharedpreferences are now typed constants 2020-10-25 23:49:24 +00:00
shilangyu 91d8477e85 migrated accounts store to ChangeNotifier 2020-10-25 23:43:37 +00:00
shilangyu 28e0ec9bcb added accidentally removed dartdoc 2020-10-25 23:39:57 +00:00
shilangyu 4917c84623 converted config store to change notifier 2020-10-25 21:33:44 +00:00
shilangyu c839da022d small fixes 2020-09-30 20:10:13 +02:00
shilangyu aa5d9832d6 run dartfmt 2020-09-30 19:37:56 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
shilangyu af7cb62fac removed users from account store and used more utility methods 2020-09-29 23:15:51 +02:00
Marcin Wojnarowski 4083742574
Merge branch 'master' into post-creation 2020-09-28 20:33:28 +02:00
shilangyu cb2cc99546 show only logged in instances 2020-09-26 12:43:34 +02:00
shilangyu 80a06bf14b simplify automatic default account selection 2020-09-24 09:18:42 +02:00
krawieck a18300f0f1 add pick default reaction 2020-09-23 15:27:24 +02:00
shilangyu 72ef4a6d26 added iterable of instance urls 2020-09-22 23:17:02 +02:00
krawieck 15f408e8db mark `removeInstance` and `removeAccount` as actions 2020-09-22 13:38:31 +02:00
krawieck 3ca16ccf21 add `removeInstance` and `removeAccount` methods 2020-09-21 21:44:56 +02:00
krawieck 9497449a93 add option to assume that instance is valid and not do any requests 2020-09-21 21:44:16 +02:00
shilangyu 08af8e5997 cleanup some TODOs 2020-09-16 23:29:14 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
Filip Krawczyk fc52ce91a8
Merge pull request #41 from krawieck/community-sub-button 2020-09-16 22:14:35 +02:00
shilangyu a2b5a0a6f2 properly handling null in AccountsStore (removed tokenOrNull) 2020-09-16 21:51:08 +02:00
krawieck d98f93b0f5 make `isAnonymousFor` work for not added isntances 2020-09-16 01:10:46 +02:00
shilangyu 32cd87eefb hotfix: accounts are no persistently saved 2020-09-15 01:01:52 +02:00
shilangyu 9b3caf4927 added computed member for knowing if there are accounts 2020-09-08 21:44:52 +02:00
Filip Krawczyk 05287f7ef6
Merge pull request #28 from krawieck/amoled-dark-mode 2020-09-08 16:49:03 +02:00
shilangyu caff01130b added amoled dark mode 2020-09-08 10:23:08 +02:00
shilangyu 1dee2e21f5 added adding instances 2020-09-08 00:34:09 +02:00
shilangyu ed6c00172c seperated addition of instances and accounts 2020-09-07 23:43:23 +02:00
shilangyu dda7571c19 save tokens and users in AccountsStore 2020-09-02 15:16:33 +02:00
shilangyu 624f0e995a persistently save default accounts 2020-09-02 10:00:08 +02:00
shilangyu 706bf94502 accounts screen in settings:
- you can see your accounts
- you can choose the default one for the instance with a long press
2020-09-02 01:35:30 +02:00
shilangyu da107a7ad7 remove accentColor config 2020-09-01 22:05:33 +02:00
shilangyu 2b3fc87f88 created accounts store 2020-09-01 13:22:37 +02:00
shilangyu 8c52ec1109 making sure stores are initialiazed before rendering 2020-08-31 17:52:16 +02:00
shilangyu f4bd1eb65b added settings screen 2020-08-31 16:17:39 +02:00
shilangyu 80dd04ea1b created mobx ConfigStore 2020-08-30 22:43:16 +02:00