File tree Expand file tree Collapse file tree
shared/src/commonMain/moko-resources/base
ui/src/commonMain/kotlin/dev/materii/gloom/ui/screen/notifications/viewmodel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build APK
22
3+ permissions :
4+ contents : write
5+
6+ env :
7+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
8+
39on :
410 push :
511 branches :
6- - ' *'
12+ - ' ** '
713 tags :
814 - ' v*'
915 paths-ignore :
1319 - ' FUNDING.yml'
1420 pull_request :
1521 branches :
16- - ' *'
22+ - ' ** '
1723 paths-ignore :
1824 - ' **.md'
1925 - ' .idea/*'
Original file line number Diff line number Diff line change 8888 <!-- Accounts -->
8989 <string name =" settings_accounts" >Accounts</string >
9090 <string name =" settings_accounts_description" >Add or switch accounts</string >
91+ <string name =" settings_downloads" >Downloads</string >
92+ <string name =" settings_downloads_description" >Choose how files are downloaded</string >
9193
9294 <string name =" action_add_account" >Add account</string >
9395 <string name =" action_sign_out_all" >Sign out of all accounts</string >
9496
9597 <string name =" cd_enterprise_domain" >Enterprise domain: %1$s</string >
98+ <string name =" downloads_handler" >Downloader</string >
99+ <string name =" downloads_handler_description" >Pick the app used for downloads</string >
100+ <string name =" downloads_handler_system" >Built-in downloader</string >
101+ <string name =" downloads_handler_external" >External downloader</string >
96102 <!-- -->
97103
98104 <!-- Development -->
121127 <string name =" label_open_source" >Open Source</string >
122128 <string name =" label_closed_source" >Closed Source</string >
123129 <!-- -->
124- </resources >
130+ </resources >
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ class NotificationsViewModel(
4242 notifications.clear()
4343 notifications.addAll(response.data)
4444 }
45+ is ApiResponse .Empty -> {
46+ notifications.clear()
47+ }
4548 is ApiResponse .Error -> {
4649 error = " Couldn't load notifications"
4750 }
You can’t perform that action at this time.
0 commit comments