mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
do not ask for synchronization login twice
This commit is contained in:
parent
b3bcb2aab0
commit
13110b6e98
1 changed files with 1 additions and 2 deletions
|
@ -168,9 +168,8 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
super.onClick();
|
||||
syncPreferences.run();
|
||||
|
||||
SyncUtil.logout(myNetworkContext);
|
||||
|
||||
if (!isChecked()) {
|
||||
SyncUtil.logout(myNetworkContext);
|
||||
syncOptions.Enabled.setValue(false);
|
||||
enableSynchronisation();
|
||||
syncPreferences.run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue