Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • android/org.benoitharrault.scrobbles
1 result
Show changes
Commits on Source (2)
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
app.versionName=0.0.42 app.versionName=0.0.43
app.versionCode=42 app.versionCode=43
Auto save settings.
Sauvegarde automatique du paramétrage.
...@@ -116,6 +116,7 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -116,6 +116,7 @@ class _SettingsFormState extends State<SettingsForm> {
_selectedDiscoveriesDaysCount[i] = i == index; _selectedDiscoveriesDaysCount[i] = i == index;
} }
}); });
saveSettings();
}, },
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0), constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0),
...@@ -139,6 +140,7 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -139,6 +140,7 @@ class _SettingsFormState extends State<SettingsForm> {
_selectedDistributionDaysCount[i] = i == index; _selectedDistributionDaysCount[i] = i == index;
} }
}); });
saveSettings();
}, },
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0), constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0),
...@@ -162,6 +164,7 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -162,6 +164,7 @@ class _SettingsFormState extends State<SettingsForm> {
_selectedStatisticsRecentDaysCount[i] = i == index; _selectedStatisticsRecentDaysCount[i] = i == index;
} }
}); });
saveSettings();
}, },
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0), constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0),
...@@ -185,6 +188,7 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -185,6 +188,7 @@ class _SettingsFormState extends State<SettingsForm> {
_selectedTimelineDaysCount[i] = i == index; _selectedTimelineDaysCount[i] = i == index;
} }
}); });
saveSettings();
}, },
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0), constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0),
...@@ -208,6 +212,7 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -208,6 +212,7 @@ class _SettingsFormState extends State<SettingsForm> {
_selectedTopArtistsDaysCount[i] = i == index; _selectedTopArtistsDaysCount[i] = i == index;
} }
}); });
saveSettings();
}, },
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0), constraints: const BoxConstraints(minHeight: 30.0, minWidth: 30.0),
...@@ -218,18 +223,18 @@ class _SettingsFormState extends State<SettingsForm> { ...@@ -218,18 +223,18 @@ class _SettingsFormState extends State<SettingsForm> {
), ),
// Save // Save
ElevatedButton( // ElevatedButton(
child: Row( // child: Row(
mainAxisAlignment: MainAxisAlignment.center, // mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center, // crossAxisAlignment: CrossAxisAlignment.center,
children: [ // children: [
Icon(UniconsLine.save), // Icon(UniconsLine.save),
SizedBox(width: 8), // SizedBox(width: 8),
Text('settings_button_save').tr(), // Text('settings_button_save').tr(),
], // ],
), // ),
onPressed: () => saveSettings(), // onPressed: () => saveSettings(),
), // ),
], ],
); );
} }
......
...@@ -3,7 +3,7 @@ description: Display scrobbles data and charts ...@@ -3,7 +3,7 @@ description: Display scrobbles data and charts
publish_to: 'none' publish_to: 'none'
version: 0.0.42+42 version: 0.0.43+43
environment: environment:
sdk: '^3.0.0' sdk: '^3.0.0'
......