xd
This commit is contained in:
parent
78ff1953ad
commit
ee93ef576b
@ -99,7 +99,7 @@ class _DetailViewState extends State<DetailView> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: Text('f0ck #${widget.initialItemId} (${provider.type})'),
|
||||
title: Text('f0ck #${provider.mediaItems.elementAt(_currentIndex).id.toString()} (${provider.type})'),
|
||||
),
|
||||
body: Stack(
|
||||
children: [
|
||||
|
@ -27,7 +27,7 @@ class _MediaGridState extends State<MediaGrid> {
|
||||
|
||||
_scrollController.addListener(() {
|
||||
if (_scrollController.position.pixels >=
|
||||
_scrollController.position.maxScrollExtent - 100) {
|
||||
_scrollController.position.maxScrollExtent - 200) {
|
||||
provider.loadMedia(notify: false);
|
||||
}
|
||||
});
|
||||
@ -45,7 +45,9 @@ class _MediaGridState extends State<MediaGrid> {
|
||||
title: Text('fApp v${AppVersion.version}'),
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: Icon(provider.random ? Icons.shuffle_on_outlined : Icons.shuffle),
|
||||
icon: Icon(
|
||||
provider.random ? Icons.shuffle_on_outlined : Icons.shuffle,
|
||||
),
|
||||
onPressed: () => provider.toggleRandom(),
|
||||
),
|
||||
IconButton(
|
||||
|
Loading…
x
Reference in New Issue
Block a user