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
ca5d10a7
Commit
ca5d10a7
authored
Dec 07, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TODO.
parent
6bf0e0d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
LayoutHelper.kt
app/src/main/java/chat/rocket/android/app/LayoutHelper.kt
+1
-1
ColorImage.kt
...src/main/java/chat/rocket/android/app/utils/ColorImage.kt
+1
-0
SvgDecoder.kt
...src/main/java/chat/rocket/android/app/utils/SvgDecoder.kt
+1
-0
No files found.
app/src/main/java/chat/rocket/android/app/LayoutHelper.kt
View file @
ca5d10a7
...
...
@@ -29,7 +29,7 @@ object LayoutHelper {
childOfContent
.
viewTreeObserver
.
addOnGlobalLayoutListener
({
resizeChildOfContent
()
})
frameLayoutParams
=
childOfContent
.
layoutParams
as
FrameLayout
.
LayoutParams
}
catch
(
exception
:
ClassCastException
)
{
// TODO: are we using the android.util.Log for logging that type of errors?
// TODO: are we using the android.util.Log for logging that type of errors?
or should we use the SDK logger?
Log
.
e
(
"ERROR"
,
exception
.
message
)
}
}
...
...
app/src/main/java/chat/rocket/android/app/utils/ColorImage.kt
View file @
ca5d10a7
...
...
@@ -108,6 +108,7 @@ object ColorImage {
// Return the CloseableImage
return
CloseableColorImage
(
color
)
}
catch
(
e
:
IOException
)
{
// TODO: are we using the android.util.Log for logging that type of errors? or should we use the SDK logger?
e
.
printStackTrace
()
}
// Return nothing if an error occurred
...
...
app/src/main/java/chat/rocket/android/app/utils/SvgDecoder.kt
View file @
ca5d10a7
...
...
@@ -79,6 +79,7 @@ object SvgDecoder {
val
svg
=
SVG
.
getFromInputStream
(
encodedImage
.
inputStream
)
return
CloseableSvgImage
(
svg
)
}
catch
(
e
:
SVGParseException
)
{
// TODO: are we using the android.util.Log for logging that type of errors? or should we use the SDK logger?
e
.
printStackTrace
()
}
// Return nothing if an error occurred
...
...
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