File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/error Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- package org .schabi .newpipe .error ;
1+ /*
2+ * SPDX-FileCopyrightText: 2017-2025 NewPipe contributors <https://newpipe.net>
3+ * SPDX-License-Identifier: GPL-3.0-or-later
4+ */
5+
6+ package org.schabi.newpipe.error
27
38/* *
49 * The user actions that can cause an error.
510 */
6- public enum UserAction {
11+ enum class UserAction ( val message : String ) {
712 USER_REPORT (" user report" ),
813 UI_ERROR (" ui error" ),
914 DATABASE_IMPORT_EXPORT (" database import or export" ),
@@ -36,14 +41,4 @@ public enum UserAction {
3641 GETTING_MAIN_SCREEN_TAB (" getting main screen tab" ),
3742 PLAY_ON_POPUP (" play on popup" ),
3843 SUBSCRIPTIONS (" loading subscriptions" );
39-
40- private final String message ;
41-
42- UserAction (final String message ) {
43- this .message = message ;
44- }
45-
46- public String getMessage () {
47- return message ;
48- }
4944}
You can’t perform that action at this time.
0 commit comments