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
a0406abe
Unverified
Commit
a0406abe
authored
Mar 08, 2019
by
Filipe de Lima Brito
Committed by
GitHub
Mar 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2105 from arthurbdiniz/fix-2104
[FIX] App bar title changes when rotating the screen.
parents
c69d1368
57fed97b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
PreferencesFragment.kt
...chat/rocket/android/preferences/ui/PreferencesFragment.kt
+5
-1
No files found.
app/src/main/java/chat/rocket/android/preferences/ui/PreferencesFragment.kt
View file @
a0406abe
...
@@ -38,13 +38,17 @@ class PreferencesFragment : Fragment(), PreferencesView {
...
@@ -38,13 +38,17 @@ class PreferencesFragment : Fragment(), PreferencesView {
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
super
.
onViewCreated
(
view
,
savedInstanceState
)
super
.
onViewCreated
(
view
,
savedInstanceState
)
setupToolbar
()
setupListeners
()
setupListeners
()
presenter
.
loadAnalyticsTrackingInformation
()
presenter
.
loadAnalyticsTrackingInformation
()
analyticsManager
.
logScreenView
(
ScreenViewEvent
.
Preferences
)
analyticsManager
.
logScreenView
(
ScreenViewEvent
.
Preferences
)
}
}
override
fun
onResume
()
{
setupToolbar
()
super
.
onResume
()
}
override
fun
setupAnalyticsTrackingView
(
isAnalyticsTrackingEnabled
:
Boolean
)
{
override
fun
setupAnalyticsTrackingView
(
isAnalyticsTrackingEnabled
:
Boolean
)
{
if
(
BuildConfig
.
FLAVOR
==
"foss"
)
{
if
(
BuildConfig
.
FLAVOR
==
"foss"
)
{
switch_analytics_tracking
.
isChecked
=
false
switch_analytics_tracking
.
isChecked
=
false
...
...
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