Commit Graph

634 Commits

Author SHA1 Message Date
shilangyu 94daf2acc6 moved out logic from UI 2020-09-08 16:41:46 +02:00
shilangyu 8eb31434e2 used expression functions where possible 2020-09-08 16:38:59 +02:00
shilangyu 81b10cf3e3 removed unnecessary dividers 2020-09-08 16:37:58 +02:00
shilangyu 94ff01bc55 moved cancel buttons before add buttons 2020-09-08 16:35:54 +02:00
shilangyu f0d508c37a added black color to background and canvas 2020-09-08 16:31:04 +02:00
Marcin Wojnarowski 366419d08e
Merge pull request #29 from krawieck/android-network-permission 2020-09-08 11:16:23 +02:00
shilangyu 9a739c5e33 add network permission for android 2020-09-08 11:10:44 +02:00
shilangyu ffa484d895 capitalized amoled 2020-09-08 10:24:47 +02:00
shilangyu caff01130b added amoled dark mode 2020-09-08 10:23:08 +02:00
shilangyu c08e07311a you can now add accounts/instances 2020-09-08 01:27:02 +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
Marcin Wojnarowski b214c13827
Merge pull request #26 from krawieck/community-page 2020-09-07 23:31:57 +02:00
krawieck 45e42ac322 Convert functions with immidiate returns to expressions
change () { return X; }
    to () => X
2020-09-07 23:13:05 +02:00
krawieck 4deafcb29f Instead of passing to `_AboutTab` hardcode functions
the hardcoded functions are:
* `goToUser`
* `goToModLog`
* `goToCategories`
2020-09-07 23:09:53 +02:00
krawieck 327cc8a208 Rename `SortPostsPicker` to `PostListOptions` 2020-09-07 22:49:41 +02:00
krawieck 0da1d229dc Change `enum.toString()` to `describeEnum(enum)` 2020-09-07 22:05:50 +02:00
krawieck c2dedb14ac Make 3 constructors for `CommunityPage` instead of 2
instead of single default constructor using name of the
community, there are now 2 where first takes community
name, and second which takes the id
2020-09-07 21:57:43 +02:00
krawieck f00c02b631 Fix misuse of `assert` 2020-09-07 21:47:33 +02:00
krawieck e7380b4914 Move constructors above methods 2020-09-07 21:42:04 +02:00
krawieck c53cd047b7 Add InstancePage
* top section finished
* about section partially done
2020-09-07 21:29:07 +02:00
krawieck 5509e0bc90 Update property 2020-09-07 20:22:31 +02:00
krawieck 29e40887fb Tiny visual tweaks 2020-09-07 16:24:09 +02:00
krawieck 86f203ae55 Change flat buttons to outline buttons 2020-09-07 16:23:53 +02:00
krawieck 9f1d5bc5ac Adjust import formatting 2020-09-07 16:19:28 +02:00
krawieck 48a0851e06 Make buttons more round (and stylish ) 2020-09-06 00:39:38 +02:00
krawieck 51100c297c Bump `lemmy_api_client` 2020-09-06 00:20:08 +02:00
krawieck af3787740c Adjust padding on badges 2020-09-06 00:08:50 +02:00
krawieck e3dc2d1e14 Rename `_AboutSection` to `_AboutTab` 2020-09-06 00:03:52 +02:00
krawieck 3bb347fc02 Add picker for post sorting 2020-09-05 23:55:07 +02:00
krawieck 712ee3c8e2 Make it usable with very tall content
also it can now be paired with `isScrollControlled: true` passed to `showModalBottomSheet`
2020-09-05 23:48:30 +02:00
krawieck ff827e6126 Add category, modlog, list of mods, and refine other stuff 2020-09-05 19:27:11 +02:00
krawieck be49e93b28 Add about section with description and badges 2020-09-05 18:17:09 +02:00
krawieck de625de379 Add option to change Badge border radius 2020-09-05 18:16:16 +02:00
krawieck 88d796def7 Create `CommunityPage` and create everything above tabs 2020-09-05 17:13:23 +02:00
Marcin Wojnarowski 6eb0d10fb9
Merge pull request #25 from krawieck/profile-tweaks 2020-09-04 11:13:12 +02:00
krawieck 05eb748980 Add todo comment 2020-09-04 11:08:11 +02:00
krawieck 8f9bf91056 Turn bio into IIFE 2020-09-04 11:04:10 +02:00
krawieck e788ed03e5 Increase vertical padding between items 2020-09-03 23:35:13 +02:00
krawieck 36cd9c5df0 oops wrong color 2020-09-03 23:26:17 +02:00
krawieck 78208c1306 Make bottom modal usable in dark mode 2020-09-03 23:23:36 +02:00
krawieck ebee170b44 Add padding around bio 2020-09-03 23:22:11 +02:00
krawieck 67b8ad3730 Remove unnecessary piece of code 2020-09-03 23:18:48 +02:00
krawieck 73a079bfca Change section heading 2020-09-03 23:14:26 +02:00
krawieck b704502c7d Convert `Columns` to `ListView`s where appropriate 2020-09-03 22:20:32 +02:00
krawieck b2f8e88375 Increase horizontal padding 2020-09-03 22:14:07 +02:00
krawieck d8234a671a Replace icon shadow with black gradient top to bottom 2020-09-03 22:10:22 +02:00
krawieck df36d0c06c Make username on top of the screen look like other appbar titles 2020-09-03 22:08:32 +02:00
krawieck ee0df56448 make badge color visible on different BGs 2020-09-03 16:18:42 +02:00
Marcin Wojnarowski 83ce411db4
Merge pull request #24 from krawieck/full-post 2020-09-03 14:59:55 +02:00