Skip to content

Commit

Permalink
Fetch upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanBruh committed Jun 30, 2021
1 parent 41e5966 commit 3cb4041
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion lib/Components/ChatMessage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class ChatMessage extends StatelessWidget {
// ),
// ),
// ),
for (var badge in BlocProvider.of<ChatsenBadges>(context).getBadgesForUser('${message.user?.id}') + BlocProvider.of<SevenTVBadges>(context).getBadgesForUser('${message.user?.id}') + message.badges + BlocProvider.of<FFZBadges>(context).getBadgesForUser('${message.user?.login?.toLowerCase()}') + BlocProvider.of<FFZAPBadges>(context).getBadgesForUser('${message.user?.id}') + BlocProvider.of<ChatterinoBadges>(context).getBadgesForUser('${message.user?.id}'))
for (var badge in BlocProvider.of<ChatsenBadges>(context).getBadgesForUser('${message.user?.id}') + BlocProvider.of<SevenTVBadges>(context).getBadgesForUser('${message.user?.id}') + message.badges + BlocProvider.of<ChatterinoBadges>(context).getBadgesForUser('${message.user?.id}'))
WidgetSpan(
child: WidgetTooltip(
message: Padding(
Expand Down
13 changes: 3 additions & 10 deletions lib/Pages/Home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,15 @@ class _HomePageState extends State<HomePage> implements twitch.Listener {
}

var videoPlayer = state is StreamOverlayOpened
/*? WebView(
? WebView(
initialUrl: 'https://player.twitch.tv/?channel=${state.channelName}&enableExtensions=true&muted=false&parent=pornhub.com',
javascriptMode: JavascriptMode.unrestricted,
allowsInlineMediaPlayback: true,
onWebViewCreated: (WebViewController webViewController) {
webViewController.evaluateJavascript(
'const script=document.createElement("script");script.type="text/javascript";script.src="https://i.stphn.cc/trihard.js?487216";document.head.appendChild(script);');
'javascript:(function(document){"use%20strict";(document.head||document.getElementsByTagName("head")[0]).appendChild(document.createElement("script")).src="//cdn.frankerfacez.com/script/script.min.js";})(document);const script2=document.createElement("script");script2.type="text/javascript";script.src="https://code.jquery.com/jquery-3.6.0.slim.min.js";document.head.appendChild(script2);const script=document.createElement("script");script.type="text/javascript";script.src="https://i.stphn.cc/trihard.js?487216";document.head.appendChild(script);');
}
)*/
? BetterPlayer.network(
"https://trihard.stphn.cc/${state.channelName}.m3u8",
betterPlayerConfiguration: BetterPlayerConfiguration(
aspectRatio: 16 / 9,
autoPlay: true
),
)
)
: null;

var scaffold = Scaffold(
Expand Down
2 changes: 1 addition & 1 deletion lib/Pages/OAuth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class _OAuthPageState extends State<OAuthPage> {
}

await webViewController.clearCache();
await cookieManager.clearCookies();
print(cookieManager.toString());
} catch (e) {
print(e);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/generated_plugin_registrant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// ignore_for_file: lines_longer_than_80_chars

import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:file_picker/_internal/file_picker_web.dart';
import 'package:file_picker/src/file_picker_web.dart';
import 'package:file_selector_web/file_selector_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:share_plus_web/share_plus_web.dart';
Expand Down
4 changes: 1 addition & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: chatsen
description: A new Flutter project.
publish_to: "none" # Remove this line if you wish to publish to pub.dev using `pub publish`
version: 1.0.38+33

version: 1.0.41+36
version: 1.0.42+37

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit 3cb4041

Please sign in to comment.