Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fluttertoast
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
fluttertoast
Commits
119c5066
Unverified
Commit
119c5066
authored
Jul 04, 2020
by
Karthik Ponnam
Committed by
GitHub
Jul 04, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #185 from wei-spring/master
bug fix (Toast invisable on huawei honor device )
parents
fac85afc
426ccd34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
android/src/main/java/io/github/ponnamkarthik/toast/fluttertoast/FluttertoastPlugin.java
+10
-1
No files found.
android/src/main/java/io/github/ponnamkarthik/toast/fluttertoast/FluttertoastPlugin.java
View file @
119c5066
...
...
@@ -92,7 +92,16 @@ public class FluttertoastPlugin implements MethodCallHandler {
}
else
{
mToast
.
setGravity
(
mGravity
,
0
,
100
);
}
mToast
.
show
();
if
(
mContext
instanceof
Activity
)
{
((
Activity
)
mContext
).
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
mToast
.
show
();
}
});
}
else
{
mToast
.
show
();
}
result
.
success
(
true
);
break
;
...
...
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