Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
86a0d24f
Unverified
Commit
86a0d24f
authored
May 13, 2019
by
Filipe Brito
Committed by
GitHub
May 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into develop
parents
421a600b
da53bc60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
DirectorySortingBottomSheetFragment.kt
...droid/directory/ui/DirectorySortingBottomSheetFragment.kt
+3
-1
strings.xml
app/src/main/res/values-ru-rRU/strings.xml
+2
-2
No files found.
app/src/main/java/chat/rocket/android/directory/ui/DirectorySortingBottomSheetFragment.kt
View file @
86a0d24f
...
...
@@ -69,7 +69,6 @@ class DirectorySortingBottomSheetFragment : BottomSheetDialogFragment() {
override
fun
onCancel
(
dialog
:
DialogInterface
?)
{
super
.
onCancel
(
dialog
)
directoryFragment
.
updateSorting
(
isSortByChannels
,
isSearchForGlobalUsers
)
}
private
fun
setupView
()
{
...
...
@@ -87,16 +86,19 @@ class DirectorySortingBottomSheetFragment : BottomSheetDialogFragment() {
checkSelection
(
text_channels
,
hashtagDrawable
)
uncheckSelection
(
text_users
,
userDrawable
)
isSortByChannels
=
true
directoryFragment
.
updateSorting
(
isSortByChannels
,
isSearchForGlobalUsers
)
}
text_users
.
setOnClickListener
{
checkSelection
(
text_users
,
userDrawable
)
uncheckSelection
(
text_channels
,
hashtagDrawable
)
isSortByChannels
=
false
directoryFragment
.
updateSorting
(
isSortByChannels
,
isSearchForGlobalUsers
)
}
switch_global_users
.
setOnCheckedChangeListener
{
_
,
isChecked
->
isSearchForGlobalUsers
=
isChecked
directoryFragment
.
updateSorting
(
isSortByChannels
,
isSearchForGlobalUsers
)
}
}
...
...
app/src/main/res/values-ru-rRU/strings.xml
View file @
86a0d24f
...
...
@@ -362,8 +362,8 @@
<!-- User Details -->
<string
name=
"timezone"
>
Часовой пояс
</string>
<string
name=
"status"
>
Status: %1$s
</string>
<!-- TODO Translate --
>
<string
name=
"user_detail_status"
>
Status
</string>
<!-- TODO Translate --
>
<string
name=
"status"
>
Статус: %1$s
</string
>
<string
name=
"user_detail_status"
>
Статус
</string
>
<!-- Report -->
<string
name=
"submit"
>
Отправить
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment