File tree 34 files changed +73
-29
lines changed
34 files changed +73
-29
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,18 @@ class AuthFragment : AppFragment(
67
67
override fun onViewCreated (view : View , savedInstanceState : Bundle ? ) {
68
68
super .onViewCreated(view, savedInstanceState)
69
69
70
- binding.loginWithNextcloud.setOnClickListener {
71
- showAccountPicker()
72
- }
73
-
74
70
binding.loginWithMiniflux.setOnClickListener {
75
71
findNavController().navigate(R .id.action_authFragment_to_minifluxAuthFragment)
76
72
}
77
73
74
+ binding.loginWithNextcloudApp.setOnClickListener {
75
+ showAccountPicker()
76
+ }
77
+
78
+ binding.loginWithNextcloud.setOnClickListener {
79
+ findNavController().navigate(R .id.action_authFragment_to_directAuthFragment)
80
+ }
81
+
78
82
binding.standaloneMode.setOnClickListener {
79
83
lifecycleScope.launchWhenResumed {
80
84
model.saveConf(
Original file line number Diff line number Diff line change 47
47
app : layout_constraintTop_toBottomOf =" @id/logo" >
48
48
49
49
<Button
50
- android : id =" @+id/loginWithNextcloud "
50
+ android : id =" @+id/loginWithMiniflux "
51
51
android : layout_width =" match_parent"
52
52
android : layout_height =" wrap_content"
53
53
android : layout_marginStart =" 40dp"
54
54
android : layout_marginEnd =" 40dp"
55
- android : text =" @string/login_with_nextcloud " />
55
+ android : text =" @string/login_with_miniflux " />
56
56
57
57
<Button
58
- android : id =" @+id/loginWithMiniflux "
58
+ android : id =" @+id/loginWithNextcloudApp "
59
59
android : layout_width =" match_parent"
60
60
android : layout_height =" wrap_content"
61
61
android : layout_marginStart =" 40dp"
62
62
android : layout_marginEnd =" 40dp"
63
- android : text =" @string/login_with_miniflux" />
63
+ android : text =" @string/login_with_nextcloud_app" />
64
+
65
+ <Button
66
+ android : id =" @+id/loginWithNextcloud"
67
+ android : layout_width =" match_parent"
68
+ android : layout_height =" wrap_content"
69
+ android : layout_marginStart =" 40dp"
70
+ android : layout_marginEnd =" 40dp"
71
+ android : text =" @string/login_with_nextcloud" />
64
72
65
73
<Button
66
74
android : id =" @+id/standaloneMode"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" zero" >%d hours</item >
114
115
<item quantity =" one" >%d hour</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hodinu</item >
114
115
<item quantity =" few" >%d hodina</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d Stunde</item >
114
115
<item quantity =" other" >%d Stunden</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d horas</item >
114
115
<item quantity =" other" >%d horas</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >پیوند خوراک</string >
110
110
<string name =" comments" >نظرها</string >
111
111
<string name =" view_comments" >نمایش نظرها</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d ساعت</item >
114
115
<item quantity =" other" >%d ساعت</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d ora</item >
114
115
<item quantity =" other" >%d ore</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" two" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" other" >%d hours</item >
114
115
</plurals >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" other" >%d hours</item >
114
115
</plurals >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d uur</item >
114
115
<item quantity =" other" >%d uren</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" few" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" other" >%d hours</item >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
3
<string name =" app_name" >News</string >
4
- <string name =" login_with_nextcloud" >Login with Nextcloud</string >
4
+ <string name =" login_with_nextcloud" >Login with Nextcloud (direct) </string >
5
5
<string name =" post_image" >Post image</string >
6
6
<string name =" settings" >Settings</string >
7
7
<string name =" news" >News</string >
109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d hour</item >
114
115
<item quantity =" few" >%d hours</item >
Original file line number Diff line number Diff line change 109
109
<string name =" feed_url" >Feed URL</string >
110
110
<string name =" comments" >Comments</string >
111
111
<string name =" view_comments" >View comments</string >
112
+ <string name =" login_with_nextcloud_app" >Login with Nextcloud (app)</string >
112
113
<plurals name =" d_hours" >
113
114
<item quantity =" one" >%d час</item >
114
115
<item quantity =" few" >%d часа</item >
You can’t perform that action at this time.
0 commit comments